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

[whatwg] List Headers

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 04 Feb 2009 14:42:03 +0100
Message-ID: <49899B2B.9020506@gmx.de>
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>



"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
Received on Wednesday, 4 February 2009 05:42:03 UTC

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