Re: can an img be a link within figure?

At 13:54 05/07/2007, Ben Boyle wrote:

><figure>
><a href="some link"><img src="some image" ...></a>
><legend>optional legend</legend>
></figure>
>
>This would not be conforming in the current spec right? <figure> can
>only contain an embedded content element (which <img> is), but not a
>link? This is possibly not an issue for other embedded content but
>seems a big change for images, which often are links.

In an image gallery of thumbails, I'd absolutely want to caption the 
image, whille allowing the thumbnail to be a link to a full-sized 
image. Seems odd that it would be against spec.

b

Received on Thursday, 5 July 2007 19:45:34 UTC