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.

Properties

Property name

Type

Description

Status

Support level

Availability

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

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

DOMString

Specifies the color of visited links.

writable

DOM 2 HTML

4.6 or later

Last modified: 2014-03-10



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus