Home » CSS » CSS Attribute Selectors » Question
  1. Which of the following selector selects elements that do not match the selector s?
    1. :nth-child(s)
    2. :not(s)
    3. :!(s)
    4. All of above
    5. None of these
Correct Option: B

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



Your comments will be displayed only after manual approval.