Using Basic Selectors

  • David Powers


Choosing the right selector is the key to working successfully with CSS. The CSS3 speci fication defines more than 40 selectors, allowing you to target your styles accurately without the need for extra HTML markup. The latest versions of all browsers support the full range of CSS3 selectors, plus some nonstandard ones. However, not everyone uses the latest browsers, so—at least in the early stages of learning CSS—it makes sense to concentrate on selectors that are supported even by older browsers.


Attribute Selector Text Color Style Sheet Document Object Model Type Selector 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© David Powers 2012

Authors and Affiliations

  • David Powers

There are no affiliations available

Personalised recommendations