Help Center

Local Navigation

HTML element: <basefont>

Availability

Full support as of BlackBerry® Device Software version 3.7.

The <basefont> element specifies the base font used in the document.

Differences between HTML, XHTML, and XHTML-MP

The <basefont> element is deprecated in HTML 4.01. Use styles instead.

XHTML (strict) and XHTML-MP do not support the <basefont> element.

Attributes

Attribute

Value(s)

Description

Supported in

color

color

Deprecated. This attribute specifies a valid color. A valid color can be specified in the following ways:

  • an RGB value ("250,239,111")
  • hexadecimal notation (“#770aff” or “#70f” (equal to “#7700ff”))
  • a valid color name (“red”)

4.6 or later

face

font_name

Deprecated. This attribute specifies a list of font names, listed in order of preference.

4.6 or later

size

integer

Deprecated. This attribute specifies the size of the font. The value can be:

  • an absolute value from 1 to 7.
  • a relative value from -6 to +6. Values are relative to the font size.

4.6 or later

Index


Was this information helpful? Send us your comments.