Help Center

Local Navigation

Object: HTMLStyleElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLStyleElement object represents a <style> element in an HTML document.

The <style> element defines an internal style sheet.

HTMLStyleElement properties

Property name

Type

Description

Status

Support level

Availability

disabled

boolean

When true, indicates that the style sheet is not applied to the document.

writable

DOM 2 HTML

4.6 or later

media

DOMString

Specifies the destination medium for the style information.

writable

DOM 2 Style

4.6 or later

sheet

StyleSheet

Returns the StyleSheet object associated with the element.

read only

DOM 2 HTML

4.6 or later

type

DOMString

Specifies the content type of the style sheet language.

writable

DOM 2 HTML

4.6 or later


Was this information helpful? Send us your comments.