HTML Tag <SCRIPT>
HTML Tag <SCRIPT>
<SCRIPT> Contains browser script code. Examples include JavaScript and VBScript. It is a good idea to place the actual script code within the comment tags so that browsers that don’t support the <SCRIPT> tag code can ignore it.
Attribute of <SCRIPT> Tag
LANGUAGE
Indicates the type of script.
<SCRIPT LANGUAGE="JavaScript">
Possible Values
Language name like javascript, vbscript etc.
TYPE
Indicates the MIME type of the script. This is an alternative to the langUAGE tag for declaring the type of scripting.
<SCRIPT type="text/javascript">
document.write ("<h2>Welcome to cs-tutorial.com</h2> ")
</SCRIPT>
Possible Values
Content Type.