Export (0) Print
Expand All

type attribute | type property

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

Syntax

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

p = object.type

 

Property values

Type: String

the CSS language of the style sheet.

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".

The property can be any string, including an empty string. Valid style sheets are set to "text/css".

See also

style

 

 

Show:
© 2014 Microsoft