Skip to: content, navigation

by Ian Lloyd

face (HTML attribute)

Spec
Depr. Version
Yes HTML 4
Browser support full matrix
IE5.5+ FF2 Saf3 Op9.5
Full None None None
face="comma-separated list of font-families"

Example

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

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).

Value

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

Compatibility

IE5.5Full
6.0Full
7.0Full
Firefox1.0None
1.5None
2.0None
Safari1.3None
2.0None
3.0None
Opera9.2None
9.5None

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.

Add a note

To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.

Related Products

The Principles of Beautiful Web Design

Best Seller!

You don’t need to go to Art School to design great looking web sites!

Book Cover: The Principles of Beautiful Web Design

Download the FREE sample chapters