ExamVeda
Login
Home
This question belongs to CSS CSS3 Fundamentals
CSS3 Fundamentals
?

Which of the following selector is used to selects siblings?

Answer & Solution
Correct Answer: Option B
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.