[thelist] HTML 4.01 strict & Javascript
David Dorward
evolt at david.us-lot.org
Mon Jul 21 06:12:32 CDT 2003
On Mon, Jul 21, 2003 at 05:45:46 -0400, john at johnallsopp.co.uk wrote:
> 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?
The language attribute has been replaced with the type attribute.
<script type="text/javascript" src="menu_array.js"></script>
--
David Dorward http://david.us-lot.org/
More information about the thelist
mailing list