Footnotes via <details>: Clever, but Awkward Inside Paragraphs
Terence Eden experimented with building footnotes out of the <details>/<summary> elements, and the approach has real appeal. Instead of linking readers away to a note at the bottom, the explanation sits right beside the text it belongs to — the adjacency is visible in the markup itself — and the disclosure widget provides open/close behavior natively.
Where it gets fiddly
The tricky part starts with layout: <details> is a block-level element, so making it act as a footnote means forcing it inline and then sizing and positioning it so it looks correct. The author also notes that it refuses to sit inside a <p> tag, which rules it out for that author's own use.
In the comments, Craig Shoemaker forked the original to tweak the CSS, an effort that prompted the author to do the same. Rather than showing the footnote text inline — described as extra-tricky — the fork relocates that content to a fixed-position spot at the bottom of the page.
The verdict stays open: it isn't fully convincing as a good idea, nor as a terrible one.



