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

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

You should see a green background assigned by the anchor. (Note: You must have visited http://www.w3.org/ for this test to be valid.)

p.test a { background-color : red }
p.test *:visited { background-color : lime }
<p class="test">
<a href="http://www.w3.org/">You should see a green background assigned by the anchor.</a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
</p>