View Full Version : Help with validation of script

10-17-2004, 02:20 AM
I am very new at using script and when I used "Gradual-Highlight Image Script II IE" and then validated the page through w3c I got the following message:

Line 5, column 7: required attribute "type" not specified


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.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

How do I correct this please?

10-17-2004, 06:23 AM
Does the script still work or do you just want to be w3c compliant?

Also, if it isn't a error marked "critical" you still pass anyway.