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

A single font may not contain glyphs to display all the characters in a document, and not all fonts are available on all systems. Authors can specify a list of fonts, all of the same style and size, that are tried in sequence to see if they contain a glyph for a certain character. This list is called a font set.

XML SourceCSS stylesheetExample link
(1)
     <AAA>
          <BBB>bbbb</BBB>
          <CCC>cccc</CCC>
          <DDD>dddd</DDD>
          <EEE>eeee</EEE>
     </AAA>

BBB {font-family: "Times New Roman", "Symbol", serif}
CCC {font-family: "Helvetica", sans-serif}
DDD {font-family: "Critter", fantasy}
EEE {font-family:"Courier", monospace}
View output