
Originally Posted by
nadzD
Java Script
Javascript[1] is one word. Anything else would imply something related to Java.
It doesn't even work if i delete all of my site and just type this simple HTML:
That "simple" HTML is invalid. Trying to do anything sensible with invalid HTML is (generally) a waste of effort. Always validate your mark-up.
All HTML documents require a title element.
<SCRIPT LANGUAGE="JavaScript">
The language attribute has been deprecated for over six years. Use the (required) type attribute instead:
HTML Code:
<script type="text/javascript">
This is complete nonsense on two levels:
- A correct opening SGML comment delimiter is written <!--. Correcting that should allow the script to run.
- "Hiding" script and stylesheet content in this manner is as outdated as the language attribute. Stop doing it.
Mike
[1] JavaScript if you're refering to Netscape's implementation of ECMAScript, specifically.
Bookmarks