3 ms·
I don't think that matters to GP's point. It's the fact that then "name" attribute stays the same no matter the nesting level. There's already <figure><figcapt
by flowerthoughts 2y ago
I don't think that matters to GP's point. It's the fact that then "name" attribute stays the same no matter the nesting level.
There's already <figure><figcaption></figure> and <table><caption></table> as examples of embedded heading. The difference there being that figure and table elements very rarely nest.
So allowing h in <section><h><section><h></section></section> to become h1 and h2 would make sense.