What is a CSS selector?
CSS selectors are used to target HTML elements for styling. There are many different types of selectors, several of which were covered in the last lesson. If you have been going through this course sequentially, the selectors you have learned about thus far are:
- id selectors
- class selectors
- descendant selectors
- chained or qualified selectors