c21-pseu-id-000

anchor

WeasyPrint

This browser

Flags
interact

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