[whatwg] Various threads with feedback on HTML elements

Ian Hickson ian at hixie.ch
Tue Nov 5 13:31:18 PST 2013


On Tue, 5 Nov 2013, Tim Leverett wrote:
> >>
> >> 2. Making <main> being usable multiple times in a document, so we 
> >> also have a reasonable element to wrap the main content of a blog 
> >> post.
> >
> >The spec does not limit <main> to being used only once.
> 
> Correct me if I'm wrong, but the spec says:
> 
> > Authors must not include more than one main element in a document.
> http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-main-element
> 
> I think that's what Ian Yang was originally referring to.

Ah, ok. That's the W3C's spec. You'd have to contact them about that.

The WHATWG spec doesn't limit <main> to being used just once:

   http://whatwg.org/html#the-main-element

In general I would recommend against using the W3C's spec as a reference, 
as it has differences exactly like this.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list