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 ? ;)

<a href="http://validator.w3.org/check/referer"><img
        alt="Valid XHTML 1.1!" height="31" width="88" /></a>
                                    problem here
Received on Saturday, 22 September 2001 11:54:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:24 UTC