Closed Bug 233826 Opened 21 years ago Closed 21 years ago

The img tags of the buttons don't have proper closing tags

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: jaap, Assigned: endico)

References

()

Details

For instance <a href="http://www.mozilla.org/products/firefox/" title="Get Firefox - The Browser, Reloaded"><img src="http://www. mozilla.org/products/firefox/buttons/getfirefox_large2.png" width="178" height="60" border="0" alt="Get Firefox"></a> Should be <a href="http://www.mozilla.org/products/firefox/" title="Get Firefox - The Browser, Reloaded"><img src="http://www. mozilla.org/products/firefox/buttons/getfirefox_large2.png" width="178" height="60" border="0" alt="Get Firefox" /></a> The difference is the / after "Get Firefox" If you do not do this it doesn't get trough W3C validator for XHTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> That page is not XHTML, it's HTML 4.01. Self-closing Image tags are not required in HTML 4.01, and will cause a lot of HTML 4.01 validators to fail.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
see The Myth of "HTML-compatible XHTML 1.0 documents" in http://www.hixie.ch/advocacy/xhtml
Status: RESOLVED → VERIFIED
Thanks for the pointer. Learned something again today :-)
*** Bug 273134 has been marked as a duplicate of this bug. ***
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.