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
Depends on:
Reported: 2005-12-09 12:47 UTC by Erik Nijland
Modified: 2005-12-09 12:57 UTC (History)
0 users

See Also:


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.

    <a href=""><img
        alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>

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 ***