CSS selectors are how we tell the browser which HTML elements we want to style. The simplest kind is the element selector — it targets all elements with a given tag name.
Loading editor...
This means: all <p> elements will be blue, and all <h1> elements will be red.
What's nice with this method is that it applies to every element of that type in the document, without you having to specify each one individually. You can just use them like this: