Help Center

Local Navigation

Object: HTMLBodyElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLBodyElement object represents a <body> element in an HTML document.

The <body> element defines the page body, which contains all the renderable content.

HTMLBodyElement properties

Property name

Type

Description

Status

Support level

Availability

aLink

DOMString

Specifies the color of active links.

writable

DOM 2 HTML

4.6 or later

background

DOMString

Specifies the URI of an image to use as the page background.

writable

DOM 2 HTML

4.6 or later

bgColor

DOMString

Specifies the background color for the page body.

writable

DOM 2 HTML

4.6 or later

link

DOMString

Specifies the color of unvisited links.

writable

DOM 2 HTML

4.6 or later

text

DOMString

Specifies the color of the body text.

writable

DOM 2 HTML

4.6 or later

vlink

DOMString

Specifies the color of visited links.

writable

DOM 2 HTML

4.6 or later


Was this information helpful? Send us your comments.