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

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

This anchor should have a green background (Note: You must have visited http://www.w3.org/ for this test to be valid.)
div.stub > * { background-color : red }
div.stub *:not(:link) { background-color : lime }
<div class="stub">
<a href="http://www.w3.org/">This anchor should have a green background</a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
</div>