PDA

View Full Version : Help with validation of script



christy
10-17-2004, 03: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

<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.

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


How do I correct this please?

cr3ative
10-17-2004, 07: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.

cr3ative