[whatwg] image captions

Lachlan Hunt lachlan.hunt at lachy.id.au
Tue Apr 4 18:13:46 PDT 2006

Ian Hickson wrote:
> On Tue, 4 Apr 2006, fantasai wrote:
>> I'm wondering what WA1 considers appropriate markup for a figure with a 
>> caption.
>    <p><img src="image-equivalent-of-text" alt="text" title="caption"></p>

That's fairly limited because it doesn't allow markup within the title 
attribute.  What about extending the <caption> element, currently used 
with <table>, to <img>, <object> and <embed>?

Lachlan Hunt

More information about the whatwg mailing list