Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

type attribute | type property

Sets or retrieves the MIME type for the associated scripting engine.

Syntax

HTML<element type="p" ... >
JavaScript

p = object.type

Property values

Type: String

text/ecmascript

ECMAScript.

text/Jscript

JScript.

text/javascript

Default. JScript.

text/vbs

VBScript.

text/vbscript

VBScript (same as text/vbs).

text/xml

XML.

Remarks

Compare this property with the language property. To avoid conflict, match the type with the language type specified in the language property.

See also

script

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.