HTML element: <font>
Availability
|
Full support as of BlackBerry®
Device Software version 3.7.
|
The <font> element specifies an inline font change.
Differences between HTML, XHTML, and XHTML-MP
The <font> element is deprecated in HTML 4.01. XHTML (strict) and XHTML-MP do not support the <font> 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.0 or later
|
face
|
font_name
|
Deprecated. This attribute specifies a list of font names, listed in order of preference.
|
4.0 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 normal font size.
|
4.0 or later
|
Index
Was this information helpful? Send us your comments.