W3C home > Mailing lists > Public > wai-wcag-editor@w3.org > January to March 2003

<img tag not closed in example code

From: Colin Tatham <colin.tatham@las.ox.ac.uk>
Date: Wed, 8 Jan 2003 13:04:51 -0000
Message-ID: <DB1C14C7146E2041A8CB7631C50A663E1700A6@sers004.ouls.ox.ac.uk>
To: <wai-wcag-editor@w3.org>


I used the code from your site:
http://www.w3.org/WAI/WCAG1-Conformance#level-A

Level A Conformance
Put the following HTML markup in your page:

<a href="http://www.w3.org/WAI/WCAG1A-Conformance"
      title="Explanation of Level A Conformance">
  <img height="32" width="88" 
          src="http://www.w3.org/WAI/wcag1A"
          alt="Level A conformance icon, 
          W3C-WAI Web Content Accessibility Guidelines 1.0"></a>


This results in an XHTML validation error at the W3C validation site
(http://validator.w3.org/check/referer) because the <img> tag is not
closed, or declared empty.

Not sure if that is your intention, maybe separate code examples for
HTML and XHTML?

Colin
Received on Wednesday, 8 January 2003 08:04:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 14 December 2011 23:05:52 GMT