blob: 93cefb0cf975a4fba94c0305bc6a5ab97e3606f3 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: font-family</title>
<style type="text/css">
p { margin: 0; color: navy; }
div.a {font-family: serif;}
div.b {font-family: monospace;}
.one {font-family: serif;}
.two {font-family: sans-serif;}
.three {font-family: cursive;}
.four {font-family: fantasy;}
.five {font-family: monospace;}
.six {font-family: sans-serif,cursive;}
.seven {font-family: monospace,serif;}
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop" title="15.3 Font family: the 'font-family' property">
</head>
<body>
<div class="a">
<p> This sentence should be in a serif font. </p>
<p class="one"> This sentence should be in a serif font. </p>
<p class="two"> This sentence should be in a sans-serif font. </p>
<p class="three"> This sentence should be in a cursive font. </p>
<p class="four"> This sentence should be in a fantasy font. </p>
<p class="five"> This sentence should be in a monospace font. </p>
</div>
<p class="six"> This sentence should be in a sans-serif font. </p>
<p class="seven"> This sentence should be in a monospace font. </p>
<div class="b">
<p> This sentence should be in a monospace font. </p>
<p class="one"> This sentence should be in a serif font. </p>
<p class="two"> This sentence should be in a sans-serif font. </p>
<p class="three"> This sentence should be in a cursive font. </p>
<p class="four"> This sentence should be in a fantasy font. </p>
<p class="five"> This sentence should be in a monospace font. </p>
</div>
</body>
</html>