[whatwg] Questions about headings and sections

Simon Pieters zcorpan at hotmail.com
Tue Nov 14 11:04:14 PST 2006


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 

More information about the whatwg mailing list