News for hackers. Stuff that matters.
Re:A (terrible?) way to do footnotes in HTML by the_other on Thursday December 10, 2020 @08:04AM (#25373229)
This doesn't sit well, to me. I think it makes more sense to use `<sup>`s and `<a href>`s that point to `<a id>`s inside a `<footer>`. I think this conveys the meaning better.

That's not to say the displayed technique is "wrong". It's interesting, clever, and a great exploration of the semantics.

Re:A (terrible?) way to do footnotes in HTML by dhosek on Thursday December 10, 2020 @09:26AM (#25373979)
href footnotes are a usability disaster in my experience. Many (most?) don't have a jumpback link, and when the link is too close to the edge of the page it gets overridden by the prev/next page control. I've ended up giving up on reading footnotes in ebooks. If it weren't for coronavirus library closures, I would read a small fraction of the ebooks that I read right now.
Re:A (terrible?) way to do footnotes in HTML by edent on Thursday December 10, 2020 @09:36AM (#25374074)
This is exactly why I built this. Some eReaders handle it well, others demonstrate the behaviour you describe.
Re:A (terrible?) way to do footnotes in HTML by edent on Thursday December 10, 2020 @08:07AM (#25373254)
Yup - that's how most ePubs do it now. Currently, eReaders handle that inconsistently. Some jump you down to the footnote and others display it on the same page.