Syntax Error!

liunx

Guest
on my site <!-- m --><a class="postlink" href="http://www.michaeljacksonround.4t.com">http://www.michaeljacksonround.4t.com</a><!-- m --> i have a syntax error. i dont have a clue on how to delete it. please can someone help me?<br />
thanx<!--content-->The validator won't touch your site: <!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.michaeljacksonround.4t.com%2F&charset=iso-8859-1+%28Western+Europe%29&doctype=HTML+4.01+Transitional&ss=1&outline=1&sp=1&verbose=1">http://validator.w3.org/check?uri=http% ... &verbose=1</a><!-- m --> and I sure am not clicking that link until I know where it goes and what it does.<br />
<br />
<br />
<br />
<br />
<br />
Later:<br />
<br />
Ah, I see. It uses UTF-8 encoding, but does not declare it so.<br />
<br />
Setting that encoding option in the validator allows checking, and explains the error: <!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.michaeljacksonround.4t.com%2F&charset=utf-8+%28Unicode%2C+worldwide%29&doctype=HTML+4.01+Transitional&ss=1&outline=1&sp=1&verbose=1">http://validator.w3.org/check?uri=http% ... &verbose=1</a><!-- m --><br />
<br />
<br />
Find that line in your file, and fix whatever is there:<br />
<br />
58: #### encoding problem on this line, not shown ####<br />
<br />
<br />
After that, revalidate the file and correct the HTML errors found there. The validator will give you a list.<br />
<br />
<br />
<br />
.<!--content-->its fixed:rocker: :rocker: :rocker: :cool: :D :D :D :cool: :cool:<!--content-->>> It's fixed <<<br />
<br />
Not from where I am looking it isn't.<br />
<br />
<br />
<br />
<br />
Later:<br />
<br />
Checking as UTF-8 I see that line 58 still contains invalid characters.<br />
<br />
Checking as ISO-8859-1 it now seems to work.<br />
<br />
You need to declare the Character encoding in your meta tags.<br />
<br />
<br />
<br />
<br />
Then try fixing the 72 HTML errors:<br />
<br />
<br />
Add type="text/javascript" to every <script> tag.<br />
<br />
<br />
Add a type="text/css" attribute to every <style> tag.<br />
<br />
<br />
Correct the entity errors by changing every & in the URLs to be &amp; instead.<br />
<br />
<br />
Remember to "Quote" all attributes, especially all "#FFFFFF" colors, all URLs, all "50%" sizes, and any other attribute value that contains anything other than a simple "A" to "Z" or "0" to "9" value. In HTML 4.01 it is recommended to quote all attribute values.<br />
<br />
<br />
Add alt="some text" to every <img > tag, the text reflecting what is in the dispayed image. On unimportant images, like spacer elements, a minimum of alt="" is fine. For bullet-point images, alt="*" is often used. Search engines do index the alt text. The alt attribute is a required element.<br />
<br />
<br />
Hide any closing tags like '</td>' that are within document.write statements by either breaking them open '</' + 'td>' or by escaping them <\/td> and the validator will no longer complain about these closing tags. It is important to break directly after the / and not the middle of a word.<br />
<br />
<br />
Fix all of that, and you will just be left with some nesting errors and a few typos.<br />
<br />
<br />
<br />
.<!--content-->
 
Back
Top