type property

Retrieves the Cascading Style Sheets (CSS) language in which the style sheet is written.

Syntax

JavaScript

p = object.type

 

Property values

Type: String

the CSS language of the style sheet.

Standards information

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.

See also

styleSheet

 

 

Show:
© 2014 Microsoft