java scrip tutorials code example
Example 1: 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 2: javascript tutorial
<html>
<body>
<script language = "javascript" type = "text/javascript">
<!--
document.write("Hello World!")
//-->
</script>
</body>
</html>