javascript tutorail code example

Example 1: javascript

JavaScript, often abbreviated as JS, is a programming language that conforms
to the ECMAScript specification.
JavaScript is high-level, often just-in-time compiled, and multi-paradigm.
It has curly-bracket syntax, dynamic typing, prototype-based object-orientation,
and first-class functions.

Example 2: javascript tutorial

<html>
  <head>
  //Write your javascript code here
  <script>
    //Using this you can change content of p tag
  	document.getElementById("demo").innnerHTML = "Bye";
  </script>
  </head>
  <body>
   <div id="demo">
     <p> Hello </p>
	</div>
 </body>

Example 3: javascript tutorial

<html>
   <body>   
      <script language = "javascript" type = "text/javascript">
         <!--
            document.write("Hello World!")
         //-->
      </script>      
   </body>
</html>

Tags:

Misc Example