type
Summary
The type of a document’s stylesheet.
Property of css/cssom/styleSheetcss/cssom/styleSheet
Syntax
var result = element.type;
element.type = value;
Notes
Remarks
This property can be any string, including an empty string. Style sheets having any type other than “text/css” are not supported for Microsoft Internet Explorer 4.0. This property can be any string, including an empty string.
Syntax
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
See also
Related pages
- styleSheetstyleSheet
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]