StyleSheet.type (Property)

What sort of style sheet the object represents.


DOM level - 2
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myStyleSheet.type
HTML syntax:<STYLE TYPE="...">

This value returns a string that describes the MIME type for the style sheet document that was used to instantiate the StyleSheet object.

Normally, you would see the value "text/css" in this property.

See also:<SCRIPT TYPE="...">, <STYLE TYPE="...">, SCRIPT.type

Property attributes: