[html5] Main and Section

Ian Hickson ian at hixie.ch
Tue Mar 4 20:39:29 PST 2014


On Wed, 5 Mar 2014, Brett Ryan wrote:
>
> There is no restriction on header/footer elements coming before/after a 
> main, but main can not be a child of a article/aside or other sectioning 
> elements. You may only have one main element per document page.

You can have <main> in an <article> or <aside>, and have multiple per 
page. It's basically the same as <div>.

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

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



More information about the Help mailing list