MDN self-hosted library · e01.org

StyleSheet: type property

CSSOM

Open notebook · 1 cells web-api-instance-property upstream source

CSSOM

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

Value

A string.

Examples

myStyleSheet.type = "text/css";

Specifications

Browser compatibility