CSS 3 Module <== Test # ==>
W3C Selectors 21 of 153 of the static tests category
Testing Date Revision
:link pseudo-class (ID #16) 2001-11-01 1.1

NOTE: The UA must support the concept of a session history for this test.

This link should have green background. (Don't follow this link.)

p.test a { background-color : red }
p.test *:link { background-color : lime }
<p class="test">
<a href="http://unvisited.example.org/css3-modsel-16/">This link should have green background.</a>
(Don&#39;t follow this link.)