div1 starts in next line

This is an h4 element inside div1

First paragraph

Second paragraph

Third paragraph

Fourth paragraph and last element in div1

This is div2

The first set of buttons operate on div1, using chilren(), parent(), parents() and siblings().
               

The next set of buttons operate on div2 and its InnerUl.
Notice how parents() includes the body and html tags and therefore all their subtrees.