What are child selectors?

Child selectors are written using a greater-than symbol (>), and it must appear between two other selectors. This is used to match elements that are direct children of other elements, which is a little more precise than the traditional selectors.

Example: body > a {color: blue;}

Learn more about the similar topics:
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.