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: Applying the property 'display' set to 'inline' to the 'a' element</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-display">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#display-prop">
8 <meta name="flags" content="">
9 <meta name="assert" content="Display set to 'inline' applies the correct rendering behavior for the 'a' element.">
10 <style type="text/css">
11 /* Note that per the non-normative default stylesheet definition 'a' is already 'display: inline'. */
12 a
13 {
14 display: inline;
15 }
16 </style>
17 </head>
18 <body>
19 <p>Test passes if all the "Filler Text" below is on the same line.</p>
20 <div>
21 Filler Text
22 <a>Filler Text</a>
23 Filler Text
24 </div>
25 </body>
26 </html>