Name

FACE — NN 3 IE 3 HTML 4

Synopsis

FACE=”fontFaceName1[, ... fontFaceNameN]"

Optional

You can assign a hierarchy of font faces to use for a segment of text contained by a FONT element. The browser looks for the first font face in the comma-delimited list of font face names until it either finds a match on the client system or runs out of choices, at which point the browser default font face is used. Font face names must match the system font face names exactly. If you use this attribute (instead of the preferred style sheet attribute), you can always suggest a generic font face (serif, sans-serif) as the final choice.

Example

<FONT FACE="Bookman, Times Roman, serif">...</FONT>

Value

One or more font face names, including the recognized generic faces: serif | sans-serif | cursive | fantasy | monospace.

Default

Browser default.

Object Model Reference

IE

[window.]document.all.elementID.face

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.