[thelist] Confused about what HTML Validation is telling me

Ben Dyer ben_dyer at imaginuity.com
Thu Feb 7 15:15:10 CST 2002


On 03:12 PM 2/7/2002, Bob Boisvert said to me:
>I'm a little confused about what the HTML Validation is telling me at
>www.w3c.org it seems to be picking on all the JavaScript tags below.
>
>
><script language="JavaScript">
>                                ^
>Error: required attribute "TYPE" not specified
>
>
>
>I'm pretty new to JavaScript and I don't know what this means, can someone
>clarify this for me?.

The "type" attribute is required for <script> tags now.

For Javascript, just add type="text/javascript" and that validate.

--Ben


Ben Dyer, Senior Internet Developer, Imaginuity Interactive
http://www.imaginuity.com/

     If you save the world too often, it begins to expect it.
-----------------------------------------------------------------
   http://members.evolt.org/OKolzig37/     http://www.evolt.org/




More information about the thelist mailing list