Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following selectors selects direct descendents?

a) E > F
b) E F
c) E + F
d) E ~ F

Answer: a
Explanation: Example:
body > p {background-color: yellow;}
/* makes all p tags that have the body tag as their immediate parent have the background color yellow */

Join The Discussion