HTML and CSS Reference
You use selectors to define the elements on a page that you want to
apply certain properties to. Elements in the document can be matched
based on the HTML tag used, based on class or ID attributes, based
on the relationship to other elements, or based on the current status
in the document. You can also combine simple selectors to form a chain
of conditions that must be met before the style rule is applied.