(Translated by https://www.hiragana.jp/)
type Property (STYLE)
The Wayback Machine - https://web.archive.org/web/20080404213435/http://msdn2.microsoft.com:80/en-us/library/ms534695(VS.85).aspx
Click to Rate and Give Feedback
Properties
 type Property
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
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker