Forum Moderators: open

Message Too Old, No Replies

Need help with CSE Validation

         

lizardlips

1:19 am on Aug 2, 2005 (gmt 0)

10+ Year Member



Using CSE HTML Validator!

I am validating a webpage and cant fix this error. Here is the error message followed by the code. Please let me know what I need to do to fix this. Thanks

This line contains part of a quoted string that spans more than one line (not recommended) or a quoted string (like an attribute value) that is missing the start or end quotation mark. Check this line for improperly quoted attribute values that may be missing a start or end quotation mark. As currently configured, HTML Validator requires that all quoted strings be contained on one line and have start and end quotation marks. Note that because of inconsistent handling by user agents, it is not recommended that attribute values contain line breaks.

<img src="/images/#*$!.gif" alt="suggest URL" width="10" height=11"><font face="Arial" size="2"><strong> <a href="http://www.XXXXXX.com/suggest.htm" target="_blank">Suggest URL</a></strong><br>
How to suggest a site to the XXXXXXXXXXXXXX</font><br>

encyclo

1:36 am on Aug 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The error is here:

<img src="/images/test.gif" alt="suggest URL" width="10" [b]height=11"[/b]>

You are missing a quote mark before the "11".

The best way of spotting these kinds of errors is to use a text editor with syntax hightlighting - it makes it much easier to avoid errors as they show up as a different color.

lizardlips

1:49 am on Aug 2, 2005 (gmt 0)

10+ Year Member



encylclo,

Wow do I feel stupid. Thanks for the fresh look.

g1smd

10:02 am on Aug 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You are also better off NOT splitting the anchor text, or any alt or title text, over two lines. I like to split at the start of the attribute, not in the middle of the value. Splitting text, especially alt and title text, can lead to the "carriage return" characters showing as "blob graphics" in the text in Mozilla.