Name
FACE — NN n/a IE 4 HTML 4
Synopsis
FACE=”fontFaceName1[, ... fontFaceNameN]"
Optional
You can assign a hierarchy of font faces to use for the default font
of a section headed by a BASEFONT
element. The
browser looks for the first font face in the comma-delimited list of
font face names until it either finds a match in 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.
In IE 3, this attribute was called the NAME
attribute.
Example
<BASEFONT FACE="Bookman, Times Roman, serif">
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.tags(“basefont”)[i].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.