1 | There is only one real JavaScript statement here, namely |
2 | document.writeln("textstring"); |
3 | This statement outputs into current page the quoted text followed by a newline |
4 | Note the rather peculiar way we "hide" JavaScript from browsers that don't understand it by inserting a conventional HTML comment: |
5 | <SCRIPT LANGUAGE="JavaScript"> |
6 | <!-- a comment to hide JavaScript from old browsers |
7 | // Insert JavaScript statements here |
8 | // end script hiding --> |
9 | </SCRIPT> |
10 | Depending on your needs, JavaScript may be written in <HEAD> or <BODY> section of HTML document |