c523-font-style-000.xht (1094B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: font-style</title> 5 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#font-style"/> 6 <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-style-prop"/> 7 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 8 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 9 <style type="text/css"><![CDATA[ 10 p { color: navy; } 11 .one {font-style: italic;} 12 .two {font-style: oblique;} 13 .three, i {font-style: normal;} 14 ]]></style> 15 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-styling" title="15.4 Font styling: the 'font-style' property"/> 16 </head> 17 <body> 18 <p class="one"> 19 This sentence should be in italics. 20 <span class="three">This sentence should be normal.</span> 21 </p> 22 <p class="two"> This sentence should be oblique. </p> 23 <p> <i>This sentence should be normal.</i> </p> 24 </body> 25 </html>