Selector Back
Selector | Meaning | Example |
---|---|---|
Universal Selector | Targets all elements on the page | * {} |
Type Selector | Targets the <h1> , <h2> and <h3> elements |
h1, h2, h3{} |
Class Selector | Targets any element whose class attribute has a value of note; Targets only elements whose class attribute has a value of note |
.note{} p.note{} |