Re: JavaScript & Validating
by Michael Jon Muehlendorf <haoka(at)wi.tds.net>
|
Date: |
Wed, 17 May 2000 13:22:29 -0500 |
To: |
"John Shriver" <johnshriver(at)hotmail.com>, hwg-basics(at)hwg.org |
In-Reply-To: |
hotmail |
|
todo: View
Thread,
Original
|
|
Hello John!
...a mistake many of us have made, and one remedied quite easily.
At 10:32 AM 5/17/00 PDT, John Shriver wrote:
>Hi All,
>I'm just learning (huh) JavaScript and added a small snip to a page. The
>page Validated via W3C Validator prior to adding the script. I added the
>script - within a comment - and now I receive an error message when I
>attempt to validate it. It looks like this in my document:
>
>(quotes added)
Change your script tag from this:
>"<SCRIPT LANGUAGE="JavaScript"><!-- code here --></SCRIPT>"
To this:
"<SCRIPT LANGUAGE="JavaScript" type="text/javascript"><-- code here
--></SCRIPT>"
HTH,
Mike
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA