Sail E0 Webinar
Question
Which of the following selector is used to selects siblings?
Options:
A .  ::after
B .  E ~ F
C .  :checked
D .  E[attr^=value]
Answer: Option B


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 ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers