www.fgks.org   »   [go: up one dir, main page]

type Property

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 World Wide Web link.

Applies To

styleSheet


MSDN Library
Web Development
HTML and CSS
HTML and DHTML Reference
Properties
type (styleSheet)