type

HTML (DHTML)

type Property

Internet Development Index

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

Syntax

[ sType = ] styleSheet.type

Possible Values

sTypeString that receives the CSS language of the style sheet.

The property is read-only. The property has no default value.

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.

Standards Information

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

styleSheet