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: Shorthand Properties (font)</title>
5 <link rel="author" title="L. David Baron" href="http://dbaron.org/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/about.html#shorthand">
7 <style type="text/css">
8
9 p.one { font-family: serif; } /* control */
10 p.two { font-weight: bold; }
11 p.two { font: 1em/normal serif; }
12
13 </style>
14 </head>
15 <body>
16
17 <p>The following paragraphs should be identical:</p>
18
19 <p class="one">This should be in a normal weight font.</p>
20 <p class="two">This should be in a normal weight font.</p>
21
22 </body>
23 </html>