This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
After validating a page as XHTML 1.0 Strict, I see the following code for displaying an icon indicating the page is valid XHTML 1.0: <p> <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a> </p> Ironically, its use of presentational attributes means this code will cause a page to be invalid. You should provide a version of this without those attributes when validating XHTML Strict (and, I suppose, an equivalent for HTML Strict).
(In reply to comment #0) What makes you think that the height and width attributes for the img element are not valid? http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_img does not seem to agree with you, at least. That said, yes, these could probably be removed.
Silly me. You're right. I guess I just assumed those attributes were deprecated. Actually, http://www.w3.org/TR/html4/struct/objects.html#visual claims that all such elements (on IMG and OBJECT) are deprecated, but these are excluded for some reason. Not entirely sure why. Oh well, better use the list next time.
*** Bug 2573 has been marked as a duplicate of this bug. ***