Javascript Introduction

Web Design Specialists.

Javascript Introduction

Javascript is a scripting language designed to extend the functionality of web pages. Typically written as part of an HTML document a script controls the elements of the page and reacts to user actions. Javascript uses simple commands which manipulate the parts of a web page. We will discuss and introduce you to the various components used in javascript such as variables, statements, if then else logic, loops, objects and functions.

LifeLock Identity Theft Prevention - Save 10%
LifeLock is the only Identity Theft Prevention Solution backed by a one-million dollar guarantee! Click here to get a 10% discount.


Javascript code is placed in your HTML source code between the <head> and </head> tags of your HTML document. The block of Javascript code is surrounded by the <script> and </script> tags. Multiple blocks of Javascript code are allowed in a single HTML document as long as each individual block of code is surrounded by the <script> and </script> tags.

MacMall iPod Accessories
iPhone 3G & iPod touch Accessory and Software Sale - UP TO 39% OFF + BIG Shipping Discounts


<html>
 <head>
  <title>Javascript Example</title>
    <script language="Javascript">
      <!-- Hide Javascript code from old browsers
        document.writeln("Hello World");
      // end hiding code -->
    </script>
 </head>
 <body>
     .
     .
     . 
 </body>
</html>



Intro  |  Variables  |  Statements  |  If then else  |  Loops  |  Objects  |  Functions  |  HOME