[whatwg] The IMG element, proposing a CAPTION attribute

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