Q27
Which of the following selectors selects adjacent siblings?
A.
E > F
B.
E F
C.
E + F
AnswerD.
E ~ F
Answer: Option C
Solution
Answer: Option C
Solution:
Example: h1 + p {color: red;}/* makes all p tags that are immediately preceded by an h1 tag red */