[whatwg] The IMG element, proposing a CAPTION attribute
Alexey Feldgendler
alexey at feldgendler.ru
Wed Nov 22 09:15:26 PST 2006
On Wed, 22 Nov 2006 21:34:05 +0600, Michel Fortin
<michel.fortin at michelf.com> wrote:
>> <figure> cannot be used like this:
>>
>> <table>
>> <thead>
>> <tr>
>> <th>Painting</th>
>> <th>Title</th>
>> <th>Author</th>
>> </tr>
>> </thead>
>> <tbody>
>> <tr>
>> <td><img id="img1" src="..."></td>
>> <td><label for="img1" type="title">Mona Lisa</label></td>
>> <td>Leonardo da Vinci</td>
>> </tr>
>> ...
>> </tbody>
>> </table>
> Hum, now that I see your example again, I understand that I haven't
> adressed at all what you meant.
>
> Well, indeed that's a limitation of <figure>: it can't span across
> different table cells. But on the other side, I don't think I'd call
> "Mona Lisa" a caption in your example. It's certainly a title however,
I'm not saying it's a caption either. A caption is just one of the
possible ways of rendering a title.
> and I think the table makes the association pretty clear by itself.
It's not clear for Google Images which needs to extract (image, title)
pairs from documents.
--
Alexey Feldgendler <alexey at feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com
More information about the whatwg
mailing list