VALIDATOR.W3C: ... required attribute "TYPE" not s
I have a newproblem when trying to validate my html code with the W3C validator which gives me the following message:
This page is not Valid HTML 4.01 Transitional! Error Line 524 column 117: required attribute "TYPE" not specified. ...1234567&style=hidden&offset=0"></script> The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element. THE FULL JAVASCRIPT CODE WITH THE OFFENDING LINE: <script language="Javascript" src="http://nextgenstats.com/cgi-bin/log.pl?site=1234567&style=hidden&offset=0"></script> <noscript><a href="http://www.nextgenstats.com"><img src="http://www.nextgenstats.com/cgi-bin/statsplus.pl?1234567" alt="counter"></a> </noscript> Any help would be much appreciated. Back to top |
|||||
Instead of "script language" (which is deprecated) you need to use script type="text/javascript".
Back to top |
|||||
VALIDATOR.W3C: ... required attribute "TYPE" not s
The suggested remedy worked perfectly. Many thanks for your help.
Back to top |
|||||
You're welcome!
Back to top |
|||||
All times are GMT - 8 Hours
|