Matches an E element, the n-th child of its parent. (Source: W3C)
<div>
<p>Lorem ipsum dolor sit amet, consectetur</p>
<p>Lorem ipsum dolor sit amet, consectetur</p>
<p>Lorem ipsum dolor sit amet, consectetur</p>
</div>
p{font-style:normal}
p:nth-child(2){font-style:italic}
p:nth-child(odd){color:green}
Lorem ipsum dolor sit amet, consectetur
Lorem ipsum dolor sit amet, consectetur
Lorem ipsum dolor sit amet, consectetur
Lorem ipsum dolor sit amet, consectetur
Lorem ipsum dolor sit amet, consectetur
Lorem ipsum dolor sit amet, consectetur
In the example, the second paragraph should be set in italics and the first, third and fifth (odd) should be green.