Discussion :: CSS MCQs
- Which of the following selector is used to selects siblings?
Answer : Option B
Explanation :
p ~ strong {font-style: italic;} /* sets the font style to italic on all strong tags that have a p tag as a preceding sibling */
Be The First To Comment