On Fri, Feb 29, 2008 at 1:04 PM, Dave Hodder <<a href="mailto:dmh@dmh.org.uk">dmh@dmh.org.uk</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tab Atkins Jr. wrote (with snippage):<br>
<div class="Ih2E3d">><br>
> In HTML5, the <hx> hierarchy is explicitly ignored.  Instead, they're<br>
> all treated the same.  The actual heading level is determined by<br>
> <section> nesting.<br>
<br>
</div>That doesn't sound correct to me.  If they were all the same we could<br>
drop <h1> to <h6> and just use <h>.  Section 3.8.6 states: "These<br>
elements have a rank given by the number in their name.  The h1 element<br>
is said to have the highest rank, the h6 element has the lowest rank,<br>
and two elements with the same name have equal rank."<br>
<br>
Regards,<br>
<font color="#888888"><br>
Dave<br>
</font></blockquote></div><br>Some clarification:  The <hn> elements do still have a rank, and this is used when determining implicit sections.  Frex, if I have a page consisting of an <h1>, some content, another <h1>, some content, an <h2>, and then some content, I end up with two implicit sections, with the second containing an implicit subsection.<br>
<br>When doing explicit sectioning (that is, with the <section> element), the first heading element within a <section>(an <hn> or <header> tag) is taken as the heading for that <section>, regardless of the rank of headers used previously.  That is, the n in <hn> is ignored in favor of the explicitly designated <section>.<br>
<br>HTML5 didn't switch to simply using <h> (or <heading> or something like that) because that would prevent legacy user agents from doing their own implicit sectioning properly.  Using pure <h1> interferes with this somewhat as well, but it also greatly simplifies the use of headings, which was one of the reasons to create an explicit <section> element in the first place.<br>
<br>This is over in the <a href="http://www.w3.org/html/wg/html5/#headings0">Headings & Sections</a> area.  As well, I would swear that Ian said that bit about using pure <h1>s, but I can't find it at the moment.<br>
<br>~TJ<br>