face (HTML attribute)

Spec
Depr. Version
Yes HTML 4
Browser support (more…)
IE5.5+ FF2 SA4 OP10 CH2
Full None None None None

Syntax

face="comma-separated list of font-families"

Description

The face attribute allows the author to define one or more different fonts to be displayed (the browser will display the first font specified, but if that is not present on the computer, the browser will try the next one in the list and so on).

Example

<basefont size="2" face="Courier New, Courier, monospace">

Value

This attribute takes as its value a list of fonts, separated by commas.

Compatibility

Internet Explorer Firefox Safari Opera Chrome
5.5 6.0 7.0 8.0 1.0 1.5 2.0 1.3 2.0 3.1 4.0 9.2 9.5 10.0 2.0
Full Full Full Full None None None None None None None None None None None

This attribute is only supported by Internet Explorer. The attribute—and the element itself (which is deprecated)—shouldn’t be used at all.

User-contributed notes

There are no comments yet.

Related Products