[html5] Main and Section

Lewis Dexter Litanzios / ldexterldesign mail at ldexterldesign.co.uk
Tue May 27 10:26:10 PDT 2014


I'm confused about how to use <main>?

"Where flow content is expected, but with no article, aside, footer, 
header or nav element ancestors." - 

... yet Ian, you say it /can/ be used inside <article> and/or <aside> elems?

Which is correct?

Yours hopefully,

On 05/03/2014 04:39, Ian Hickson wrote:
> 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

ldexterldesign logo <http://www.ldexterldesign.co.uk/>
Lewis Dexter Litanzios
Web Designer & Developer
mail at ldexterldesign.co.uk <mailto:mail at ldexterldesign.co.uk>
+44 7504 907 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20140527/4a871594/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo-ldexterldesign-black-150x.png
Type: image/png
Size: 3580 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20140527/4a871594/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mail.vcf
Type: text/x-vcard
Size: 290 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20140527/4a871594/attachment.vcf>

More information about the Help mailing list