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.


Lachlan Hunt - Opera Software
Received on Friday, 6 March 2009 14:06:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:47 UTC