W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2011

[whatwg] Erroneous description of h1, h2, h3, etc. elements on Whatwg.org

From: Etienne Levesque Guitard <etiennelg@gmail.com>
Date: Wed, 21 Sep 2011 10:56:13 -0400
Message-ID: <CADJPd84Zu0rHcoefuJgpNLh7KerF=Rzt7LRp4PabVA1SOsttsg@mail.gmail.com>
Hello Community,

I've noticed that under section 4.4.6 of the HTML5 spec on
Whatwg.org<http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>,
the description of h1, h2, h3, etc. is as follows:

*These elements have a rank given by the number in their name. The h1
element is said to have the highest rank, the h6 element has the lowest
rank, and two elements with the same name have equal rank.*

I propose a rewrite to this in order to cover changes in HTML5:

*Unless they are contained within a section element, these elements have a
rank given by the number in their name. The h1 element has the highest rank
while the h6 element has the lowest rank. When used with the section
element, the rank is determined by the nesting level of the given heading
element within section elements.*
*
*
I think this makes it more explicit for readers of the spec who won't go on
section 4.4.11 to know exactly what the semantics mean.

Etienne Levesque Guitard
Received on Wednesday, 21 September 2011 07:56:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC