[whatwg] image captions
mihai.sucan at gmail.com
Tue Jun 27 05:36:09 PDT 2006
Le Tue, 27 Jun 2006 14:42:13 +0300, dolphinling <lists at dolphinling.net> a
> Mihai Sucan wrote:
>> There's nothing "wrong" with that. Yet, that's not exactly an image
>> caption. There's no explicit association between the <img> and the
>> following <p>.
> But there's the implicit association given by the fact that they're
> there, together, in the <div>, and nothing else is. Do you really need
> anything more than that?
That's because <div> does not properly serve this purpose. Your suggestion
is overusing <div>.
Can an aural browser be sure your markup is actually representing an image
with its caption?
You could also use:
However, this looks like a microformat. Nonetheless, it's better than
leaving out the class attribute.
ROBO Design - We bring you the future
More information about the whatwg