Understanding selectors
The basic building blocks of a cascading style sheet are its style rules. Selectors are used to "select" elements on an HTML page so that they can be styled. Without selectors, there would be no way to determine how the rules should be applied. This topic introduces the fundamentals of cascading style sheet declaration syntax, to describe how selectors are used.
For more information, see the following topics:
See also
Concepts
Selectors and combinators
Properties by category
Other resources
Cascading Style Sheets (CSS), Level 2, revision 1 (CSS1)
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.