21 lines
668 B
HTML
21 lines
668 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>CSS 2.1 Test Suite: font-style</title>
|
|
<style type="text/css">
|
|
p { color: navy; }
|
|
.one {font-style: italic;}
|
|
.two {font-style: oblique;}
|
|
.three, i {font-style: normal;}
|
|
</style>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-styling" title="15.4 Font styling: the 'font-style' property">
|
|
</head>
|
|
<body>
|
|
<p class="one">
|
|
This sentence should be in italics.
|
|
<span class="three">This sentence should be normal.</span>
|
|
</p>
|
|
<p class="two"> This sentence should be oblique. </p>
|
|
<p> <i>This sentence should be normal.</i> </p>
|
|
</body>
|
|
</html> |