This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

type

Summary

The type of a document’s stylesheet.

Property of css/cssom/styleSheetcss/cssom/styleSheet

Syntax

var result = element.type;
element.type = value;

Notes

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. This property can be any string, including an empty string.

Syntax

Standards information

See also

Related pages

Attributions