<img tag not closed in example code

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 UTC