[html5] Can a <section> wrap more than one <h1>?

Tae Sandoval Murgan taecilla at gmail.com
Mon Mar 1 14:32:22 PST 2010


Hi there:

Far as I know, each <section> element generates a new branch in the
structure of the document, as is the case with the headers, so:

<section>
    <h1></h1>
    <section>
            <h2></h2>
    </section>
</section>

gives the same result as:

<h1></h1>
<h2></h2>

So I expect something like:

<section>
    <h1></h1>
    <h1></h1>
</section>

is wrong, however, the validator (http://html5.validator.nu/) gives me
no errors or warnings, and the outliner
(http://gsnedders.html5.org/outliner/) gives me a structure alike:

<body>
    <h1></h1>
    <h1></h1>
</body>

¿Is that OK? ¿Can a section have more than one <h1> and so grouping
related information?

Thanks.



More information about the Help mailing list