This is a p element
This is a p element inside a div element (will not be selected, because it does not share the same parent as the other p elements that are selected in this example).
This is a p element.
This is another p element.
This is a p element (will not be selected, because it is not the previous sibling element of div. It is the next sibling element.)