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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
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.