Headings: [Skip]

Web-Design Tutorials by Dr Sam

CSS Validity

Menu [Skip]

Font-Family Styles

Examples

Generic font-family with other font families

Specify a generic font-family at the end of any other font-families. It must come last, after any others.

(1)

Notice: the generic font-family, sans-serif in this example, comes last.

font-family: verdana, sans-serif;

(2)

Notice again: the generic font-family, serif in this example, comes last.

font-family: georgia, serif;