W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2009

[whatwg] section element example

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 06 Mar 2009 23:06:18 +0100
Message-ID: <49B19E5A.9000001@lachy.id.au>
Rikkert Koppes wrote:
> The example presented at the section element definition [1]. The given 
> markup could be ok, however, with a look at the actual contents (a nice 
> essay about apples), the h1 elements found in the section elements 
> should actually be h2 elements, giving rise to the folowing document 
> structure:
> 
> Apples
> - Red Delicious
> - Granny Smith

No, the example is correct.  It's actually illustrating how you can use 
h1 elements in combination with the section elements to achieve the same 
structure.  See the section on headings and sections and creating an 
outline for more info.

http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#headings-and-sections

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Friday, 6 March 2009 14:06:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:49 GMT