Here, we can see that the div element is also selected after using the andSelf() method.
Before using andSelf()
First Paragraph
Second Paragraph
After using andSelf()