Re: using Javascript with STRICT DTD

by "Peter Newton" <c-newton(at)ihug.co.nz>

 Date:  Sun, 28 Jan 2001 17:09:11 +1300
 To:  <hwg-techniques(at)hwg.org>
 References:  ultra
  todo: View Thread, Original
Ah yes

html 4.01 strict DTD


Jeff asked

> To which DTD are you trying to validate (e.g. XHTML 1.0, HTML 4.01)?
>
> - Jeff
>
> ===================================================
> Jeff Rankin jrankin(at)jeffr.net
>
> http://www.jeffr.net/
>
> Be Valid To Be Cool
> ===================================================
>
> On Sun, 28 Jan 2001, Peter Newton wrote:
>
> > Hello all,
> >
> > I'm familiarising myself with the STRICT DTD  Document type using the
W3C
> > validator and I get the following error:-
> >
> > <SCRIPT LANGUAGE="JavaScript" type="text/javascript">
> >                    ^
> > Error: there is no attribute "LANGUAGE"
> >
> >
> > I've always specified the language in my script tags because other
script
> > languages exist. Can anyone throw some light on this and offer a
solution
> > that also works with the transitional DTD.
> >
> > Many Thanks
> > Peter Newton
> >
> >
>
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA