1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: font-family
</title>
5 <style type=
"text/css">
6 p
{ margin: 0; color: navy
; }
7 div
.a
{font-family: serif
;}
8 div
.b
{font-family: monospace
;}
9 .one {font-family: serif
;}
10 .two {font-family: sans-serif
;}
11 .three {font-family: cursive
;}
12 .four {font-family: fantasy
;}
13 .five {font-family: monospace
;}
14 .six {font-family: sans-serif
,cursive
;}
15 .seven {font-family: monospace
,serif
;}
17 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/fonts.html#font-family-prop" title=
"15.3 Font family: the 'font-family' property">
21 <p> This sentence should be in a serif font.
</p>
22 <p class=
"one"> This sentence should be in a serif font.
</p>
23 <p class=
"two"> This sentence should be in a sans-serif font.
</p>
24 <p class=
"three"> This sentence should be in a cursive font.
</p>
25 <p class=
"four"> This sentence should be in a fantasy font.
</p>
26 <p class=
"five"> This sentence should be in a monospace font.
</p>
28 <p class=
"six"> This sentence should be in a sans-serif font.
</p>
29 <p class=
"seven"> This sentence should be in a monospace font.
</p>
31 <p> This sentence should be in a monospace font.
</p>
32 <p class=
"one"> This sentence should be in a serif font.
</p>
33 <p class=
"two"> This sentence should be in a sans-serif font.
</p>
34 <p class=
"three"> This sentence should be in a cursive font.
</p>
35 <p class=
"four"> This sentence should be in a fantasy font.
</p>
36 <p class=
"five"> This sentence should be in a monospace font.
</p>