[whatwg] List Headers

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>

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 4 February 2009 02:45:28 UTC