[whatwg] caption for lists and others Re: XSLT: HTML 5 --> HTML
Anne van Kesteren
annevk at opera.com
Fri Feb 9 05:07:42 PST 2007
On Fri, 09 Feb 2007 14:03:39 +0100, Karl Dubost <karl at w3.org> wrote:
> The caption element has been created for tables, but except if browsers
> have a special parsing for it. I wonder what it would give associated
> with other things like objects, lists, etc.
> It's very common to see index of figures, index of tables, etc.
>
> <ul>
> <caption>Here my caption</caption>
> …
> </ul>
<legend> was resued as opposed to <caption> in <figure> because <caption>
has special parsing rules (inside tables). The same would apply here.
> Though Ian seems to say that meta is put back in the HEAD element.
You basically have to do that for backwards compatibility.
--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
More information about the whatwg
mailing list