The first child (paragraph).

The last child (paragraph).



The only child (paragraph).



The first child (span).

The last child (paragraph).