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: anchor</title>
5 <meta name="flags" content="interact">
6 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#anchor-pseudo-classes">
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">
10 a:link {color: red;}
11 a:visited {color: red;}
12 a:hover {color: red;}
13 a:focus {color: red;}
14 a:active {color: red;}
15 a.test {color: green;}
16 </style>
17 <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specificity" title="6.4.3 Calculating a selector's specificity">
18 <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascade" title="6.4 The cascade">
19 <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#pseudo-class-selectors" title="5.11 Pseudo-classes">
20 </head>
21 <body>
22 <p><a href="" class="test">Whatever you do to this link, it should stay green.</a> (hover, focus, activate, follow)</p>
23 </body>
24 </html>