Question
Which of the following selector is used to selects siblings?
Answer: Option B
Was this answer helpful ?
p ~ strong {font-style: italic;}
/* sets the font style to italic on all strong tags that have a p tag as a preceding sibling */
Was this answer helpful ?
Submit Solution