[whatwg] section element example

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 UTC