c21-pseud-anch-000.xht (995B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 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"><![CDATA[ 10 a {color: green;} 11 a:link {color: red;} 12 a:visited {color: red;} 13 a:hover {color: green;} 14 a:focus {color: red;} 15 a:active {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>This sentence should be green.</a> Check that it remains green after you click it. Note: the link should turn red while clicked.</p> 21 </body> 22 </html>