There is only one real JavaScript statement here -- namely |
document.writeln("textstring"); |
This outputs into current page the text in quotes followed by a newline |
And note the rather peculiar way we "hide" JavaScript from browsers that can't understand it by enclosing in convential HTML Comment syntax |
<SCRIPT LANGUAGE="JavaScript" > |
<!-- A Conventional comment to hide JavaScript from old browsers |
...... Bunch of JavaScript Statements ....... |
//scriptend--> |
</SCRIPT> |
Note depending on your needs, JavaScript can be in Header or Body section of document |