[whatwg] List Headers
Robert O'Rourke
rob at sanchothefat.com
Wed Feb 4 02:58:30 PST 2009
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>
>
> HTH,
>
Thanks Ian, and thanks to Lachlan and Christian for discussing it and
helping to clear some things up for me.
It's going to take me a while to get used to the more creative uses of
the new HTML5 elements!
Thanks again.
-Rob
More information about the whatwg
mailing list