To add styling to an HTML element on a web page, you must first select it. It's important to specify an element because a typical webpage contains so many HTML elements, and it only is logical to select the ones you would like to style and not everything else.
The good thing is that CSS allows you to select different HTML elements using CSS selectors.
W3C has provided a plethora of selectors to enable web designers to select virtually every element and style it.
This chapter looks at some of the most commonly used CSS selectors.