[whatwg] Section nesting menu and an old HTML 3 friend LH

Robert Brodrecht whatwg at robertdot.org
Fri Mar 30 19:16:04 PDT 2007

On Mar 30, 2007, at 3:39 PM, Simon Pieters wrote:

> How is this better than the following?:
>    <h1>A list on stuff</h1>
>    <ol>
>     <li>I, Item</li>
>     <li>Item, the God
>      <ol>
>       <li>Plot synopsis</li>
>       <li>Characters</li>
>       <li>Stunning conclusion</li>
>      </ol>
>     </li>
>    </ol>
> (Or using <p> instead of <h1>?)

A <lh> (same as a caption to a table) would be semantically connected  
to the list.  That is better semantics than an header tied to  
"everything before the next heading".  Furthermore, I need to front  
load lists and not have them tied to a heading or paragraph (e.g.  
navigation lists).

And, according to the example, it'd be more like (sorry don't have  
the original right now):

    <h1>A list on stuff</h1>
     <li>I, Item</li>
     <li><h2>Item, the God</h2>
       <li>Plot synopsis</li>
       <li>Stunning conclusion</li>

That isn't as clean as the example originally provided using <lh>.

Robert <http://robertdot.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070330/a357b747/attachment-0001.htm>

More information about the whatwg mailing list