The only errors I am getting are when it is trying to validate links that are in javascript... why?
http://validator.w3.org/check?uri=http% ... &verbose=1
Why is the validator trying to validate my javascript?
Moderator: General Moderators
-
nickvd
- DevNet Resident
- Posts: 1027
- Joined: Thu Mar 10, 2005 5:27 pm
- Location: Southern Ontario
- Contact:
feyd wrote:Probably because they are raw, exposed tags in the document. Stab in the dark: change the comment mark out to a CDATA section.
Code: Select all
<script type="text/javascript">//<![CDATA[
//js code goes here
//]]></script>