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; font: 1em/normal serif; }
11
12 </style>
13 </head>
14 <body>
15
16 <p>The following paragraphs should be identical:</p>
17
18 <p class="one">This should be in a normal weight font.</p>
19 <p class="two">This should be in a normal weight font.</p>
20
21 </body>
22 </html>