JavaScript tutorial 1

Javascript is a programming language, but is not as complicated as C++ or Java, but good enough to do some basic programming for the web. If you do not understand any concept in these tutorials feel free to email me at pavithras@hotmail.com with the subject line 'JavaScript question'.

How to use JavaScript on the browser
Unlike C or Java, JavaScirpt doesn't require a special compiler. The JavaScript is embedded into the HTML document. This requires you to know HTML. If you do not, I suggest you learn it here, HTML Tutorial.
The Javascript code goes between the <HEAD> and </HEAD> in the document.
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--JavaScript code-->
</SCRIPT>
<!--Other HEAD stuff like TITLE...>
</HEAD>
<BODY>
<!--Body of the document goes here-->
</BODY>
</HTML>


Home   Next