Home » Interview » Technology

What are Child Selectors ?

Correct Answer: A child selector is used when you want to match an element that is the child of another specific element The parent and child selectors are separated by spaces The following selector locates an unordered list element within a paragraph element and makes a text within that element bold p > ul {font-weight: bold;}

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion