First page Back Continue Last page Graphics
Font and Text Styling
When choosing a font, there are several things to keep in mind:
- Not everyone has the same set of fonts.
- If you use a font that the visitor doesn’t have, the page will display in the default font (usually Times), unless you provide more choices. To do this, add more than one font in your declaration, and always end with the font family (serif, sans-serif, or monospace):
- font-family: Verdana, Arial, Helvetica, sans-serif
- Documents designed to be printed tend to look better in Serif fonts (Times, Georgia, Book Antiqua, etc.)
- Documents designed to be viewed onscreen tend to look better in Sans-serif fonts (Verdana, Arial, Helvetica, etc.)
To apply a font to the entire web page, modify the body tag:
body {font-family: Verdana;}