c21-focus-ln-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    a {color: red;}
11    a:link {color: blue;}
12    a:visited {color: blue;}
13    a:hover {color: blue;}
14    a:focus {color: green;}
15    a:active {color: red;}
16    #one {color: red;}
17   </style>
18   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#dynamic-pseudo-classes" title="5.11.3 The dynamic pseudo-classes: :hover, :active, and :focus">
19  </head>
20  <body>
21   <p><a href="">If you focus this link, it should go green.</a></p>
22  </body>
23 </html>