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 517 - image tag on two line causes vaildator to think the tag is unclosed
Summary: image tag on two line causes vaildator to think the tag is unclosed
Status: RESOLVED INVALID
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Other (show other bugs)
Version: CSS Validator
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL: http://flrant.com
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-05 23:17 UTC by Gary
Modified: 2004-02-09 05:51 UTC (History)
0 users

See Also:


Attachments

Description Gary 2004-02-05 23:17:36 UTC
When an image tag is on two lines the validator tell you to validate your html.
It wants you to put  a closing bracket on the and of the first line. The tag
below breaks the validator on http://flrant.com

<img src="images/logo2.jpg" width="280" height="100"style="margin-left:2%;"
         alt="Site Logo" />
Comment 1 Bj 2004-02-09 00:51:28 UTC
No, your document is not well-formed, there must be white-space  
between 'height="100"' and 'style='. The W3C MarkUp Validator does not complain 
about this error as it has limitations in it's XML support (as it reports when 
you try to validate XHTML documents).