Retrieves the Cascading Style Sheets (CSS) language in which the style sheet is written.
Syntax
HTML | <STYLE TYPE
= sType... >
|
---|
Scripting | [ sType = ] STYLE.type |
---|
Possible Values
sType | String that
specifies or receives the CSS language of the style sheet. |
The property is read/write.
The property has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
Remarks
The property can be any string, including an empty string. Valid style sheets for Microsoft Internet Explorer 4.0 and greater are set to "text/css".
Standards Information
This property is defined in
HTML 4.0 and
is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To