- Articles|
- Tutorial|
- Ask|
- Classified|
- Health|
- Wisdom|
- Funzone|
- Blog|
- Entertainment|
- Links
Tutorial Home »» JavaScript Basic »» JavaScript Introduction
JavaScript Introduction
By Admin | Posted on 10:52 AM , Tuesday, Sep 07, 2010 | Posted In JavaScript Basic
JavaScript is a Object Based scripting language, the code of javascript is interpreted, not necessery to compile it. By using javascript we validate the HTML form at the user end before submitting form.
If we not use javascript, after submitting the HTML form the, server send error message at the user end to re-enter the fields of HTML form. this process takes more time and also involve Server. If we use JavaScript validation in the HTML form, then validation checking will be done at user end.
Syntax:
<script language="javascript" type="text/javascript">
document.write("<H3>Hello Java Script</H3>");
</script>
Example:
<html>
<head>
<title>java script introduction</title>
</head>
<body>
<script language="javascript" type="text/javascript">
document.write("<H3>Hello Java Script</H3>");
</script>
</body>
</html>
Output:

Please login to download this program.


Loading . . .