Jump to content

Validation


astralaaron

Recommended Posts

I was not sure if I should post this in the HTML or JavaScript forum, but can anyone explain the first error that's showing up on http://validator.w3.org?its showing a greater than comparison in JavaScript as a data errorhere is the link http://validator.w3.org/check?uri=http%3A%...lidator%2F1.654the file is in a temporary location: http://27software.net/alexg/so it doesn't display any images

Link to comment
Share on other sites

The validator understands your < as a tag beginning, and then of course it gets angry that it isn't. Most browsers will forgive this, but validation is a different thing. To be really XHTML compliant, your script should be external. But life is life. You can include non-markup data like so

<script type="text/javascript">//<![CDATA[// rest of your javascript goes here//]]></script>

Link to comment
Share on other sites

Can anyone explain the first error that's showing up on http://validator.w3.org (here is the link: http://validator.w3.org/check?uri=http%3A%...lidator%2F1.654its showing a greater than comparison in JavaScript as a data errorthe file is in a temporary location: http://27software.net/alexg/so it doesn't display any images

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...