A valid and well-structured document provides the foundation to which your styles are applied. You may already have added appropriate styling “hooks” to your HTML, or you may return to add more as the design requirements for a page evolve. In this chapter we will look at the range of selectors we have available to target that HTML and the extra hooks we can use to gain more control. We’ll cover:
Common selectors
Bleeding-edge selectors for now and the future
The wonderful world of specificity and the cascade
Applying styles to your pages