Which of the following selectors selects siblings?
A. E.class
B. E ~ F
C. *
D. E, F, G
Answer: Option B
Solution (By Examveda Team)
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 */

Join The Discussion