W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] The IMG element, proposing a CAPTION attribute

From: Alexey Feldgendler <alexey@feldgendler.ru>
Date: Wed, 22 Nov 2006 23:15:26 +0600
Message-ID: <op.tjfgv0oe1h6og4@pancake.feldgendler.ru>
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
Received on Wednesday, 22 November 2006 09:15:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:30 UTC