W3C home > Mailing lists > Public > www-validator@w3.org > September 2001

Code to show the "validated" image doesn't validate ;))

From: Thomas Deniau <thomasdeniau@mac.com>
Date: Sat, 22 Sep 2001 17:53:57 +0200
To: <www-validator@w3.org>
Message-ID: <B7D280B5.560E%thomasdeniau@mac.com>
When I validate a document as XHTML 1.1, I get the following code to insert
a "w3c xhtml" image, but when I insert this code, the page doesn't validate
anymore ! In fact, this code uses the "height" and "width" attributes, which
are deprecated in XHTML 1.1 ... This is easy to correct (use css instead of
attributes) but shouldnąt the validator always give correct code ? ;)

<p>
<a href="http://validator.w3.org/check/referer"><img
        src="http://www.w3.org/Icons/valid-xhtml11"
        alt="Valid XHTML 1.1!" height="31" width="88" /></a>
                                ^^^^^^^^^^^^^^^^^^^^
                                    problem here
</p>
Received on Saturday, 22 September 2001 11:54:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:59 GMT