[whatwg] section element example

Lachlan Hunt lachlan.hunt at lachy.id.au
Fri Mar 6 14:06:18 PST 2009

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.


Lachlan Hunt - Opera Software

More information about the whatwg mailing list