Sail E0 Webinar
Question
Which of the following selectors selects direct descendents?
Options:
A .  E > F
B .  E F
C .  E + F
D .  E ~ F
Answer: Option A


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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers