c21-pseud-link-002

anchor

WeasyPrint

This browser

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   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#anchor-pseudo-classes">
 6   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 7   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 8   <style type="text/css">
 9    a {color: red;}
10    a:link {color: red;}
11    a:visited {color: green;}
12    a:hover {color: red;}
13    a:focus {color: red;}
14    a:active {color: red;}
15    #one {color: red;}
16   </style>
17   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#pseudo-class-selectors" title="5.11 Pseudo-classes">
18  </head>
19  <body>
20   <p><a href="">This link should be green.</a> (do not hover over it or activate it)</p>
21  </body>
22 </html>