Sail E0 Webinar
Question
Which of the following selector selects elements that do not match the selector s?
Options:
A .  :!(s)
B .  :nth-child(s)
C .  :not(s)
D .  none of the above
Answer: Option C


Example: *:not(h1) {color: black;}



Was this answer helpful ?

Submit Solution

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

Latest Videos

Latest Test Papers