Q:
What are Child Selectors ?
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;}
View answer
Workspace
Report Error
Discuss