| Name | CSS | Description | Results |
|---|---|---|---|
| Universal Selector | * | Select all elements | a b c d |
| Type Selector | div | Select all elements of that type
Select div elements |
a div c div |
| Class Selector | .c | Select elements with that class
Select elements with the c class |
.a .b .c .d |
| Id Selector | #i | Select elements with that id
Select elements with the i id
*It is best practice to not use ids in CSS
|
#a #b #i #d |