CSS 3 Module <== Test # ==>
W3C Selectors 41 of 140 of the static tests category
Testing Date Revision
:only-of-type pseudo-class (ID #37) 11-july-2001 1.0

This paragraph should have normal background

But this address should have green background

This paragraph should have normal background

.red { background-color : red }
.t1 :only-of-type { background-color : lime }
<div class="t1">
<p>This paragraph should have normal background</p>
<address class="red">But this address should have green background</address>
<p>This paragraph should have normal background</p>
</div>