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

TYPE Attribute | type Property

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

sTypeString 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 World Wide Web link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

STYLE


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