8 ms·
HTML doesn't have footnotes, does it?
by CyberShadow 5y ago
HTML doesn't have footnotes, does it?
- brundolf 5y agoIt basically does. You can use anchors to approximate the behavior described here (it will be more verbose, but that's to be expected)
- Diti 5y agoHTML 5 has the aside tag, which has the semantics of footnotes.
- dredmorbius 5y ago"Aside" is very rarely used as a footnote, and doesn't inherently have footnote semantics. Not even in W3C's rather underrepresented suggested usage (as distinguished from common practice): The objective of this technique is to use the HTML5 aside element to indicate that it's content is tangentially related to the main article or a parent section. The aside element represents a section of a page that consists of content that could be considered separate from that content. Such sections are often represented as sidebars in printed typography. https://www.w3.org/WAI/GL/wiki/Using_the_aside_element_to_indicate_tangentially_related_content https://www.w3.org/WAI/GL/wiki/Using_the_aside_element_to_in... https://awkawk.github.io/using_aside_content.html https://awkawk.github.io/using_aside_content.html Dive Into HTML5 anaogises <aside> to sidebars: The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography. The element can be used for typographical effects like pull quotes or sidebars, for advertising, for groups of nav elements, and for other content that is considered separate from the main content of the page. http://diveintohtml5.info/semantics.html http://diveintohtml5.info/semantics.html
- nextaccountic 5y ago> Dive Into HTML5 anaogises <aside> to sidebars: However, ctrl+f footnote doesn't return anything. What's the current best practice for writing footnotes with semantic html? If I were to implement footnotes with <aside>, how would it look like?
- dragonwriter 5y ago> What's the current best practice for writing footnotes with semantic html? If I were to implement footnotes with <aside>, how would it look like? https://html.spec.whatwg.org/multipage/semantics-other.html#footnotes https://html.spec.whatwg.org/multipage/semantics-other.html#...
- dredmorbius 5y agoWell, that's just all kinds of wrong.
- dredmorbius 5y agoThat's the thing: there really isn't one. It frankly boggles my mind that a markup language created by and for academics has neither footnotes nor formulae as first-class features. To the extent that Markdown does implement a specific footnote syntax, it's actually ahead of HTML in that regard.
- windthrown 5y agoI think people are referring to the practice of effectively creating footnotes with HTML anchor tags [1] [1] http://karlwinegardner.blogspot.com/2011/02/how-to-create-footnotes-in-html.html http://karlwinegardner.blogspot.com/2011/02/how-to-create-fo...