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

can an img be a link within figure?

From: Ben Boyle <benjamins.boyle@gmail.com>
Date: Thu, 5 Jul 2007 22:54:55 +1000
Message-ID: <5f37426b0707050554m50cd7c6cg52d36a490f1d7e72@mail.gmail.com>
To: "public-html@w3.org WG" <public-html@w3.org>

<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.

(Just checking I'm reading the spec right)
Received on Thursday, 5 July 2007 12:54:59 UTC

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