Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.


Type Selectors

Selectors are one of the most important and powerful parts of CSS because they identify the DOM element(s) to style. When you define a selector in your stylesheet, you're instructing the browser to match every instance of that selector in the HTML.

For example, a type selector targets an element based on its type:

p { 
  color: red; 

In the above CSS snippet, p i...