VOOZH about

URL: https://www.geeksforgeeks.org/jquery/jquery-parent-child-selector/

⇱ jQuery parent > child Selector - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

jQuery parent > child Selector

Last Updated : 11 Jul, 2025

It is a jQuery Selector used to select all elements that are the direct child of its parent element. 

Syntax:

("parent > child")

Parameter Values:

  • parent: Using this, the parent element will be selected.
  • child: Using this, the direct child element of the specified parent element will be selected.

Example 1: 

Output:

 👁 Image
 

Example 2: 

Output:

 👁 Image

Comment
Article Tags:

Explore