Script Tag Tutorials

How to start using the Javascript?

Explanation

Script tag is the primary tag which identifies javascript. Any javascript code should be written in between the script tag.
<script language="javascript">
</script>
Here the attribute language defines the language used.
For VBscript user it will be vbscript.
The script tag can be written anywhere inside head or body tag of html.

Example:


<html>
<head></head>
<body>
<script language=javascript>
//code comes here.....
//code comes here.....
//code comes here.....
</script>

</body>
</html>


Ask Questions

Ask Question