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