The face attribute defines the name of the font for the text within the font element. A font name must be specified to use this attribute. If the font is not found, the font of the text component or the previous font specified in the tag is used.

The sample below shows how to use the face attribute.

Alternate attribute

You can use the attributes "name" and "family" instead of the "face" attribute. All these attributes are the same. for example:

All the text expressions above specify the same font.

Alternate tag

A tag is the same as a tag with a face attribute. for example:

<font-face=”Arial”>