Forum Moderators: open

Message Too Old, No Replies

HTML validator question

should i be worried

         

DJFlite

8:39 pm on Jan 8, 2004 (gmt 0)

10+ Year Member



At the suggestion of a fellow WebmasterWorld user, I have began to use HTML Validator to validate my html.

It seems to be giving me a lot of errors about amperstands in links, saying they are not good. However, these links are from affiliate sites and the amp is part of the html. It also says I havent closed tags (like center) that I did close, just much later in the doc.

Should I try to fix these errors or just leave them alone. My page comes up fine on every browser Ive ever encountered.

PatrickDeese

8:45 pm on Jan 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



FWIW - I usually validate prior to inserting affilate links - you can't change them, if you did chances are your aff sales wouldn't get tracked any longer.

As far as I am concerned, as long as my template validates, my responsibilities have ended.

pageoneresults

8:54 pm on Jan 8, 2004 (gmt 0)

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



Most of those errors are due to unescaped ampersands. Escape them and they will go away without any problems with the affiliate URIs.

& should be &

g1smd

9:44 pm on Jan 12, 2004 (gmt 0)

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



The closing tag thing... if you have incorrectly nested tags then fix them.

If the closing tags are within javascript document.write statements then you need to simply escape the closing / in the tag, so that stuff like </a> becomes <\/a> and tags like </td></tr> become <\/td><\/tr> and so on.