Help Center

Local Navigation

Object: HTMLFontElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLFontElement object represents a <font> element in an HTML document.

The <font> element specifies an inline font change.

HTMLFontElement properties

Property name

Type

Description

Status

Support level

Availability

color

DOMString

Specifies the color of the font.

writable

DOM 2 HTML

4.6 or later

face

DOMString

Specifies a list of font names, listed in order of preference, in which the font is rendered.

writable

DOM 2 HTML

4.6 or later

size

DOMString

Specifies the size of the font.

writable

DOM 2 HTML

4.6 or later


Was this information helpful? Send us your comments.