This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2573 - The validator is giving the wrong example.
Summary: The validator is giving the wrong example.
Status: RESOLVED DUPLICATE of bug 1478
Alias: None
Product: Validator
Classification: Unclassified
Component: Documentation (show other bugs)
Version: HEAD
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL: http://validator.w3.org/check
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-09 12:47 UTC by Erik Nijland
Modified: 2005-12-09 12:57 UTC (History)
0 users

See Also:


Attachments

Description Erik Nijland 2005-12-09 12:47:33 UTC
After succesfuly validating a xhtml strict document. You get the following code
to put on your website.

  <p>
    <a href="http://validator.w3.org/check?uri=referer"><img
        src="http://www.w3.org/Icons/valid-xhtml10"
        alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
  </p>


The thing is in XHTML strict; the width and height attributes aren't allowed for
the img element.

I'm not sure if this should be calles a bug, but I do know it's just plain stupid.
Comment 1 Olivier Thereaux 2005-12-09 12:57:42 UTC
As far as I know, height and width attributes for the img element are perfectly legit, even in xhtml strict. 

*** This bug has been marked as a duplicate of 1478 ***