Mihai Sucan wrote:
Le Tue, 27 Jun 2006 13:00:21 +0300, dolphinling <[EMAIL PROTECTED]> a écrit:

fantasai wrote:
I'm wondering what WA1 considers appropriate markup for
a figure with a caption.
 ~fantasai

What's wrong with

<div>
   <img src="">
   <p>This is the caption.</p>
</div>

? That's how I think of it semantically, and I don't see it as being common enough to warrant a separate element of its own.


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?

--
dolphinling
<http://dolphinling.net/>

Reply via email to