child")` selector"> child")` selector" />
Easy Tutorial
❮ Css Offsetparent Event Pagey ❯

jQuery parent > child Selector

jQuery Selectors

Example

Select the direct child <span> elements of a <div> element:


Definition and Usage

The ("parent > child") selector selects all elements that are direct children of the specified element.


Syntax

Parameter Description
parent Required. Specifies the parent element to be selected. <br>
child Required. Specifies the direct child element (belonging to the specified parent element).

Try it - Example

Select all direct child <li> elements of a <ul> element


jQuery Selectors

❮ Css Offsetparent Event Pagey ❯