[thelist] HTML 4.01 strict & Javascript

Taz taz at softeffects.co.uk
Mon Jul 21 05:54:43 CDT 2003


Referece: http://www.w3schools.com/tags/tag_script.asp

'The "language" attribute of the script element was deprecated in HTML
4.01.' - Instead <script type="text/javascript"> etc...

Taz

john at johnallsopp.co.uk said:


> Hi y'all
>
> I'm trying to get a site to validate as HTML 4.01 strict (don't tackle me
> on that one), and I'm wondering what to do about:
>
>    1.  Line 61, column 17:  there is no attribute "LANGUAGE"
> (explain...).
>
> <SCRIPT language=JavaScript src="menu_array.js"
> type=text/javascript></SCRIPT>
>
> Do I have to hide the JavaScript somehow, or can't I do JavaScript if I
> want to be strict, or (and I guess I can't) can I claim 'strict'
> compliance if it's only the JavaScript that's the problem?
>
> Cheers
> J
>
>
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> Evolt.org conference in London, July 25-27 2003.  Register today at
> http://evolt.org.uk
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>



More information about the thelist mailing list