Use the item() method to get the first P element inside a DIV.

First p element in div.

Another p element in div.

A third p element in div.