W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2009

[whatwg] List Headers

From: Robert O'Rourke <rob@sanchothefat.com>
Date: Wed, 04 Feb 2009 14:17:45 +0000
Message-ID: <4989A389.4030500@sanchothefat.com>
Julian Reschke wrote:
> Ian Hickson wrote:
>> On Wed, 4 Feb 2009, Robert O'Rourke wrote:
>>> Are there any plans to bring list headers from HTML3 into HTML5? 
>>> They'd make a lot of markup patterns simpler and be very very useful 
>>> when it comes to styling.
>>
>> You can do this in HTML5, using <figure> and <legend>:
>>
>>    <figure>
>>     <legend>A header for the list</legend>
>>     <ul>
>>      <li>List item</li>
>>      <li>List item</li>
>>      <li>List item</li>
>>     </ul>
>>    </figure>
>
> Hm.
>
> <http://dev.w3.org/html5/spec/Overview.html#the-figure-element>:
>
> "The figure element represents some flow content, optionally with a 
> caption, which can be moved away from the main flow of the document 
> without affecting the document's meaning."
>
> I don't think this is usually the case for a list.
>
> BR, Julian
>

The BBC do it in articles all the time, little asides that are quoted in 
the story but presented in a data/extra info context to back it up.

-Rob
Received on Wednesday, 4 February 2009 06:17:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:09 UTC