W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] Questions about headings and sections

From: Simon Pieters <zcorpan@hotmail.com>
Date: Tue, 14 Nov 2006 19:04:14 +0000
Message-ID: <BAY109-F34F5B445093D3BC1D998A7B4EB0@phx.gbl>

I'm a little confused about the headings and sections in HTML5, in 
particular creating an outline. [1]

What's the outline of <body><h1>foo</h1><h1>bar</h1></body>?

I read it like it will be:

    - <body>: "foo"
    - new sectioning element: "bar"

Is that correct? If it is, shouldn't such documents be non-conforming or at 
least such usage be considered discouraged?

[1] http://whatwg.org/specs/web-apps/current-work/#outlines

Simon Pieters

Beyonc? live-konsert p? MSN 15/11 2006 
Received on Tuesday, 14 November 2006 11:04:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC