W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

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

From: Robert Brodrecht <whatwg@robertdot.org>
Date: Fri, 30 Mar 2007 19:16:04 -0700
Message-ID: <5C53B5FC-689C-4EF2-ACFF-CC74180AEE1F@robertdot.org>

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.htm>
Received on Friday, 30 March 2007 19:16:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:33 UTC