>> English << | česky | PortuguêsZVON > Tutorials > CSS2 tutorial
>> Example 37 << | Prev | Next | Index | Contents

The property font-family specifies the font to be used. There are 5 generic families (serif, sans-serif, cursive, fantasy, monospace) which are used when the specified font set is not available.

XML SourceCSS stylesheetExample link

serif {font-family:serif}
sans-serif {font-family:sans-serif}
cursive {font-family:cursive}
fantasy {font-family:fantasy}
monospace {font-family:monospace}
View output