[thelist] HTML 4.01 strict & Javascript

Taz taz at softeffects.co.uk
Mon Jul 21 09:22:54 CDT 2003


Don't mean to sound funny, but I did tell you lot why right at the
beginning of this thread... See below.

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

'The "language" attribute of the script element was deprecated in HTML
4.01.' (Assumably in Transitional.. as strict was a kind of migrate
testbed to xhtml) - Instead <script type="text/javascript"> etc...

Taz

M.G. Noriega said:
> El lun, 21-07-2003 a las 15:46, Adrian Simmons escribió:
>
>> Actually my javascript: definitive guide says language is deprecated in
>> HTML 4 and XHTML in favour of the type attribute, so you can ditch
>> language because you already have type in your statement. But still, get
>>   into the habit of quoting it too.
>
> To be honest, i'm not sure why using language made the validation fail.
> I thought deprecated stuff was recommended against, not forbidden :?
>
>
> --
> Manuel González Noriega
> Simplelógica, construcción web @ http://simplelogica.net
> Logicola es el weblog de Simplelógica http://simplelogica.net/logicola/
>
> --
> * * 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