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

[whatwg] The IMG element, proposing a CAPTION attribute

From: Michel Fortin <michel.fortin@michelf.com>
Date: Wed, 22 Nov 2006 10:34:05 -0500
Message-ID: <3695D034-C1D4-4F0B-9317-515026827314@michelf.com>
Le 22 nov. 2006 ? 9:53, Alexey Feldgendler a ?crit :

> <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, and I think the table makes the association pretty clear by  
itself.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/
Received on Wednesday, 22 November 2006 07:34:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC