WeCodeAcademy

CSS Selectors

Selectors choose which elements a rule applies to.

SelectorExampleSelects
Elementpall paragraphs
Class.noteelements with class="note"
ID#mainthe element with id="main"
Examplehtml
Open in editor »
Quick check

Which selector targets class="note"?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.