First page Back Continue Last page Graphics
Fonts
Designers can also specify the font they wish to use on the page. One way to do this is to use the <font> tag. However, the W3C has recently decided to deprecate both the <font> tag and the use of the bgcolor attribute -- instead, they want us to start using style sheets. More on how to use style sheets in the next couple of slides.
Not all systems have the same fonts. If you choose a font that isn't on the user's system, the page won't look the way you prefer.
<font face="FONTNAME"> [text] </font>
The default font for browsers is Times. This is a SERIF font. Another popular choice is Arial. This is a SANS-SERIF font. Another type of font is MONOSPACE, such as Courier.
One way to avoid the issue of conflicting or missing fonts is to specify the type of font, rather than the actual font, such as:
<font face="sans-serif"> [text] </font>
Another way is to put more than one font into the tag. The browser will check to see if the computer has the font in order:
<font face="Palatino, Book Antiqua, serif"> [text] </font>