c526-font-sz-000

font-size

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <title>CSS Test: font-size</title>
 5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#font-size">
 6   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 7   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 8   <style type="text/css">
 9    p { color: navy; margin: 10px; }
10    .one {font-size: medium;}
11    .two {font-size: larger;}
12    .three {font-size: smaller;}
13    .four {font-size: xx-small;}
14    .five {font-size: x-small;}
15    .six {font-size: small;}
16    .seven {font-size: large;}
17    .eight {font-size: x-large;}
18    .nine {font-size: xx-large;}
19   </style>
20   <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-size-props" title="15.7 Font size: the 'font-size' property">
21  </head>
22  <body>
23   <p> This sentence should be normal. </p>
24   <p class="one"> This sentence should be the same. </p>
25   <p class="two"> This sentence should be larger than normal. </p>
26   <p class="three"> This sentence should be smaller than normal. </p>
27   <p class="four">
28    This sentence should be very small.
29    <span class="one">This sentence should be back to normal.</span>
30   </p>
31   <p class="five">
32    This sentence should be rather small.
33    <span class="one">This sentence should be back to normal.</span>
34   </p>
35   <p class="six">
36    This sentence should be small.
37    <span class="one">This sentence should be back to normal.</span>
38   </p>
39   <p class="seven">
40    This sentence should be large.
41    <span class="one">This sentence should be back to normal.</span>
42   </p>
43   <p class="eight">
44    This sentence should be rather large.
45    <span class="one">This sentence should be back to normal.</span>
46   </p>
47   <p class="nine">
48    This sentence should be very large.
49    <span class="one">This sentence should be back to normal.</span>
50   </p>
51  </body>
52 </html>