SCRIPT tags are used to tell the browser where some types of scripting language will begin and end in an HTML file. here is the format how you should put your SCRIPT tags in your HTML documents:

Javascript code here

<SCRIPT> - When the browser sees this, it knows this is where the script BEGINS

</SCRIPT> - When the browser sees this, it knows this is where the script ENDS

so as you can see here, there is the opening <SCRIPT> tag, the javascript code and then the closing </SCRIPT> tag. when you use just the baisc opening and closing tags like this many browser will assument the the scripting language to follow will be javascript, but there are some brwoser that need to be told what kind of script it is.

besides telling where a scrpt beings and ends for the browser, SCRIPT tags can also tell the browser which scripting language will be used and define the address for an external javascript file. these aditional fucntions are achieve through the language and src or the source attributes in your code.

so its always a better to tell the browser what kind of script you will be using so from now on you should always use this format when you are toing to start a javascript code:

<SCRIPT language="javascript" type="text/javascript">

here is my example:
<SCRIPT language="javascript" type="text/javascript">
document.write ("Hello World. This Is A Webune Script Written In Javascript!");