CSS 3 Module <== Test # ==>
W3C Selectors 51 of 182
Testing Date Revision
:only-of-type pseudo-class (ID #37) 2001-07-11 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>