?
Which of the following selectors selects adjacent siblings?
Answer & Solution
Correct Answer:
Option
C
Example: h1 + p {color: red;}
/* makes all p tags that are immediately preceded by an h1 tag red */
/* makes all p tags that are immediately preceded by an h1 tag red */
Join the Discussion
Login to post a comment or share your explanation.
Login