Source Code:
The first child.
The last child.
The only child.
The first child.
The last child.
Result:
W3Schools.com
- Try it yourself