W3cubDocs

/jQuery

Category: Content Filter

:empty Selector

Select all elements that have no children (including text nodes).

:has() Selector

Selects elements which contain at least one element that matches the specified selector.

:parent Selector

Select all elements that have at least one child node (either an element or text).

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquery.com/category/selectors/content-filter-selector