[whatwg] List captions

Edward O'Connor hober0 at gmail.com
Sat Apr 7 11:01:57 PDT 2007


Elliotte wrote:

> No, the caption should be displayed to all users. That means it needs
> to be element content, not an attribute value. Just maybe
>
> <ul>
> <caption>Animals</caption>
> <li>Cat</li>
> <li>Dog</li>
> <li>Horse</li>
> <li>Cow</li>
> </ul>

That should probably be <legend>, not <caption>, For the same reason
that <figure> uses <legend> and not <caption>.


Ted

-- 
Edward O'Connor
hober0 at gmail.com

Ense petit placidam sub libertate quietem.




More information about the whatwg mailing list