[whatwg] The IMG element, proposing a CAPTION attribute
Alexey Feldgendler
alexey at feldgendler.ru
Wed Nov 22 06:53:01 PST 2006
On Wed, 22 Nov 2006 20:42:11 +0600, Michel Fortin <michel.fortin at michelf.com> wrote:
> So I propose a new <fcaption> elements -- for "figure caption" -- in
> replacement for the <caption> element in my previous figure construct:
>
> <figure>
> <fcaption>Caption Text</fcaption>
> <img src="...">
> </figure>
>
> And if I were to propose a default styling for this, it'd be this one:
>
> figure { display: table; }
> fcaption { display: table-caption; }
<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>
--
Alexey Feldgendler <alexey at feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com
More information about the whatwg
mailing list