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

Availability

disabled

boolean

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

writable

4.6 or later

media

String

Specifies the destination medium for the style information.

writable

4.6 or later

sheet

StyleSheet

Returns the StyleSheet object associated with the element.

read only

4.6 or later

type

String

Specifies the content type of the style sheet language.

writable

4.6 or later


Was this information helpful? Send us your comments.