[html5] Why is nav sectioning content?

Ian Hickson ian at hixie.ch
Wed Jan 11 12:50:49 PST 2012


On Wed, 15 Jun 2011, Derek Johnson wrote:
>
> Why is nav sectioning content?

So that its heading, if any, only applies to its contents.

Consider:

   <section>
    <h1>Apples</h1>
    <nav>
     <h2>Navigation</h2>
     <a href="/">Home</a>
    </nav>
    <p>Is this part of the "navigtation" heading?</p>
   </section>

-- 
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