Q37
Which of the following selector is used to selects siblings?
A.
::after
B.
E ~ F
AnswerC.
:checked
D.
E[attr^=value]
Answer: Option B
Solution
Answer: Option B
Solution:
p ~ strong {font-style: italic;}/* sets the font style to italic on all strong tags that have a p tag as a preceding sibling */