c21-pseud-link-002.xht (942B)
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 <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"><![CDATA[ 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="c21-pseud-link-002.xht">This link should be green.</a> (do not hover over it or activate it)</p> 21 </body> 22 </html>