type attribute (script)
Sets the type of scripting language to use.
In some older browsers the value of this attribute must be set, because there is no default value for this attribute.
String that sets the type of scripting language.
One of the following values:
|The language is ECMAScript.|
|The language is Microsoft JScript.|
|Same as text/vbscript.|
|The language is Microsoft Visual Basic Scripting Edition.|
|The language is XML.|
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the type attribute:
Did you find this example helpful?
Supported by tags:
User Contributed Comments