Home » CSS » CSS Attribute Selectors » Question
  1. Which of the following selectors selects adjacent siblings?
    1. E F
    2. E > F
    3. E ~ F
    4. E + F
    5. None of these
Correct Option: D

h1 + p {color: red;}
/* makes all p tags that are
immediately preceded by an h1 tag
red */



Your comments will be displayed only after manual approval.