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