jQuery :only-child Selector
Select each <p> element that is the only child of its parent:
Try it yourself »
Definition and Usage
The :only-child selector selects every element that is the only child of its parent.
Thank You For Helping Us!
Your message has been sent to W3Schools.