| Back to top |
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. |
|||||
|
vkaryl
Back to top
Status: Contributor Joined: 31 Oct 2004 Posts: 273 Location: back of beyond - s. UT, closer to Vegas than SLC |
Instead of "script language" (which is deprecated) you need to use script type="text/javascript".
|
|||||
| Back to top |
The suggested remedy worked perfectly. Many thanks for your help.
|
|||||
|
vkaryl
Back to top
Status: Contributor Joined: 31 Oct 2004 Posts: 273 Location: back of beyond - s. UT, closer to Vegas than SLC |
You're welcome!
|
|||||
|
All times are GMT - 8 Hours
|
||||||
Contact Us
Hosting: Pair Networks: 0.047
Forum Software © 2001–2006 phpBB
techForum Style © 2003–2006 techpatterns.com
info
Hosting: Pair Networks: 0.047
Forum Software © 2001–2006 phpBB
techForum Style © 2003–2006 techpatterns.com
info