From: Mark Rae [MVP] on
"Alexey Smirnov" <alexey.smirnov(a)gmail.com> wrote in message
news:83cff320-59d5-4114-8425-5674c79a527a(a)f17g2000vbd.googlegroups.com...

> <script language="javascript" type="text/javascript">

The language attribute of the <script /> tag was deprecated nearly
*fourteen* years ago - it should not be used at all:
http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.2.1


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

From: Miro on
It works... that's what matters to me!

Cheers'

M.

"Mark Rae [MVP]" <mark(a)markrae.net> wrote in message
news:#591p9J4KHA.4016(a)TK2MSFTNGP05.phx.gbl...
> "Alexey Smirnov" <alexey.smirnov(a)gmail.com> wrote in message
> news:83cff320-59d5-4114-8425-5674c79a527a(a)f17g2000vbd.googlegroups.com...
>
>> <script language="javascript" type="text/javascript">
>
> The language attribute of the <script /> tag was deprecated nearly
> *fourteen* years ago - it should not be used at all:
> http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.2.1
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net

From: Andrew Morton on
Miro wrote:
> It works... that's what matters to me!
>

And we all forgot to decorate the Javascript, in case there's a "<" or "&"
in it, to make sure it's XHTML-compliant

<script type="text/javascript">
//<![CDATA[
// code goes here
//]]>
</script>

--
Andrew