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>

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

http://www.w3.org/html/wg/html5/#the-figure
(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 : Monday, 29 September 2014 09:38:46 UTC