JavaScript & Validating

by "John Shriver" <johnshriver(at)hotmail.com>

 Date:  Wed, 17 May 2000 10:32:17 PDT
 To:  hwg-basics(at)hwg.org
  todo: View Thread, Original
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)
"<SCRIPT LANGUAGE="JavaScript"><!-- code here --></SCRIPT>"

The error message looks like this:

(quotes added)
"<Script Language="JavaScript">Error: required attribute "TYPE" not 
specified"

Maybe JavaScript doesn't validate but I'm a JS newbie!

Thanks in advance, John


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA