StyleSheet.type

The type property of the StyleSheet interface specifies the style sheet language for the given style sheet.

Value

A string.

Examples

 myStyleSheet.type = 'text/css';

Specifications

Specification
Unknown specification
# dom-stylesheet-type

Browser compatibility

BCD tables only load in the browser