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

Which of the following selectors selects siblings?

Answer & Solution
Correct Answer: Option B
Example: p ~ strong {font-style: italic;}
/* sets the font style to italic on all strong tags that have a p tag as a preceding sibling */
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.