Which of the following selector is used to selects siblings?
A. ::after
B. E ~ F
C. :checked
D. E[attr^=value]
Answer: Option B
Solution (By Examveda Team)
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