Help Center

Local Navigation

Object: HTMLPreElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLPreElement object represents a <pre> element in an HTML document.

The <pre> element denotes that the all spacing and new lines in the enclosed text is preserved.

HTMLPreElement properties

Property name

Type

Description

Status

Support level

Availability

width

int

Specifies the width of the content block.

writable

DOM 2 HTML

4.6 or later


Was this information helpful? Send us your comments.