Menu

the script does not validate

2005-01-06
2013-04-11
  • Nobody/Anonymous

    I validate my web pages with the W3C HTML validator.  Two errors are returned for the script.  The first error is that the 'type' attribute is missing from the first script.  When I add type="text/javascript", this error goes away.

    The second error is that the noscript element is not allowed where it is.  I do not know how to correct this error message (which may actually relate to something somewhere else).  I ran the script through the W3C validator in a completely blank page to verify that the problem is within the phpcounter script and not elsewhere on my page.

    What do I need to change so the script will pass the W3C validator?

    Thanks!

     
    • Tsvetozar Drambozov

      Well, I don't validate anything. actually I don't know why I should because all browsers do display it. Probably all things that I am doind are not 100% HTML compliant but it depends as I know on which DOCTYPE I am using. I don't have much knowledge about different doctype rules and cannot help much here.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.