4 ms·
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
by throwaway18533 3y ago
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-structural.html#s_structuralmodule https://www.w3.org/TR/2010/NOTE-xhtml2-20101216/mod-structur...