Techcss
Javascript_page_menu

JAVASCRIPT TUTORIAL

Introduction to JavaScript

JavaScript is integrated with HTML and browsers. JavaScript facilitates the web developers to dabble with properties of document windows, frames, forms, loaded documents and links. Being as scripting language the JavaScript also can handle events on web browsers.


Integrating with HTML

By using <script> tag JavaScript can be integrated with an HTML page. The syntax is

<script Language= "JavaScript">
JavaScript code
</script>


A JavaScript welcome program

<html>
<head>
<title>JavaScript Introduction program</title>
<body>
<script>
document.write("<h2>Welcome to the <i>tutorial of JavaScript</i></h2>");

</script>
</body>
</head>

Output: