:first-of-type pseudo-classDaniel GlazmanCSS 3 Module W3C Selectors Next :last-of-type pseudo-class Previous :last-child pseudo-class Test # 50 of 300 Testing :first-of-type pseudo-class ID 34 Date 2001-07-11 Revision 1.0
This div contains 3 addresses:
A first address that should have a green background
A second address with normal background
A third address with normal background