W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: can an img be a link within figure?

From: Bruce Lawson <bruce.c.lawson@gmail.com>
Date: Thu, 05 Jul 2007 20:45:32 +0100
To: "Ben Boyle" <benjamins.boyle@gmail.com>, "public-html@w3.org WG" <public-html@w3.org>
Message-ID: <468d4a56.3742420a.7ddb.3d68@mx.google.com>

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

><a href="some link"><img src="some image" ...></a>
><legend>optional legend</legend>
>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.

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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:23 UTC