<script charset="charset code" defer language="text"** src="url" type="MIME type" > </script>
‡ = Required attribute
** = Transitional only
Explanation of attributes
charset: used to define the character encoding of the external script file. The value of this attribute is a code specified in RFC 2045, for example UTF-8 or ISO-8859-1. The default value of this attribute is ISO-8859-1.
defer: this attribute can be used to indicate that the script should not be ran straight away, but execution should be deferred until the rest of the document has been loaded and rendered by the browser. In practice, this attribute has little support amongst browsers.
src: this attribute is used to specify an external file that contains the script to be run. If this attribute is used, then the content of this element is ignored by the browser in favor of the external script.
No event handlers are defined for this element.
|Basic element support|
The browser icons are explained in the below list:
= Microsoft Internet Explorer 6+
= Netscape Communicator 4
= Mozilla and Netscape Navigator 6+
= Opera 7+
= MSN TV (aka. WebTV)
= Konqueror 3.0+