HTML and CSS Reference
On the flip side, it's crucial for authors to correctly write selectors because errors can
prevent the user agent from applying the styles as intended. An integral part of correctly
understanding selectors and how they can be combined is a strong grasp of how selec-
tors relate to document structure and how mechanisms—such as inheritance and the
cascade itself—come into play when determining how an element will be styled.