ExamVeda
Login
Home
This question belongs to CSS CSS Selectors And CSS Files
CSS Selectors and CSS Files
?

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 */
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.