Help Center

Local Navigation

Object: HTMLDivElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLDivElement object represents a <div> element in an HTML document.

The <div> element is a block-level grouping element. In conjunction with the id and class attributes, the <div> element provides a means of grouping a block of content and tailoring its appearance with styles.

HTMLDivElement properties

Property name

Type

Description

Status

Support level

Availability

align

DOMString

Specifies how text within the <div> element is horizontally aligned.

writable

DOM 2 HTML

4.6 or later


Was this information helpful? Send us your comments.