To begin learning how to specify typefaces, you can explore the use of system fonts and classifications. This will seem, in many ways, like familiar terrain, as HTML uses a similar method. Fonts, whether system or encoded, are applied to text elements using the font-family style property. This property, like most others, uses a very simple syntax:
where name is the name of a system font, a font classification, or an encoded font's name.
Font classifications are general categories used to describe a type. There are six common font classification families: proportional, serif, sans-serif, monospace, cursive, and fantasy. Fonts such as Times New Roman, Bodoni, and Palatino are serif fonts. As a designer/developer, ...