CSS 3 Module <== Test # ==>
W3C Selectors 9 of 9 of the interactive tests category
Testing Date Revision
NEGATED :target pseudo-class (ID #66) 11-july-2001 1.0

The background of this paragraph should be initially green. The background of the paragraph just below should become white when you click ****here****.

The background of this paragraph should be initially green. It becomes white when you click on the link above. When you click ****here****, it becomes green again and the background of the paragraph below becomes white.

The background of this paragraph should be initially green. It becomes white when you click on the link above. When you click ****here****, the three paragraph have green background again.

p:not(:target) { background-color : lime }
<p id="first">The background of this paragraph should be initially green.
       The background of the paragraph just below should become white when
       you click <a href="#second">****here****</a>.</p>
<p id="second">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       <a href="#third">****here****</a>, it becomes green again and the
       background of the paragraph below becomes white.</p>
<p id="third">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       <a href="css3-modsel-120.xml">****here****</a>, the three paragraph
       have green background again.</p>