Share this Page URL

Chapter . SUNDAY AFTERNOON Working with Styles - Pg. 144

SATURDAY AFTERNOON Dressing Up Your Pages 139 Specifying a List of Font Faces The FACE attribute can also specify a list of font faces, which is at least a partial way around this limitation. If the first font face is not available on a system, a second font face listed may be; if that font face is not available, a third font face might be. Add a FACE attribute for the initial H2 element, listing Verdana, Arial, and Helvetica as the font faces (see Figure 4.24): <h2><a name="safety"></a><font color="#336699" face="Verdana, Arial, Helvetica">Egg Safety and Quality</font></h2> Specifying a Generic Font Family Name In HTML 4, you can also specify a generic font family name (taken from CSS) with the FONT element's FACE attribute as a fallback in case none of the listed fonts are available. They are serif, sans-serif, monospace,