Better HN
topnewbestaskshowjobs
Log inSign up

throwaway18533

3 karma · joined Aug 13, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

XHTML 2 did that. It only had a <h> tag that was depending on <section> to define the level. In fact your code would be exactly like xhtml2, if you replaced <h1-6> with <h>

I understand why some people might not like xhtml2, but it did have some good ideas for creating a semantic document

Example: https://www.w3.org/TR/2010/NOTE-xhtml2-20101216/mod-structur...