Selectors in Style Sheet Rules

Previous Next

See Also

A selector in a style sheet rule; the part before the left curly brace, can be:

· An HTML element.

 

· A class, in this case a Web Designer class.

 

· An ID, in this case a Web Designer ID.

 

· A contextual selector.

 

· A combination of the options above.

Descriptions and examples of these selectors are given in the related topics.

Related Topics:

HTML Elements as Selector

Web Designer Classes as Selector

Web Designer Domain Classes

Web Designer IDs As Selector

Contextual Selectors

The Style Property specifying a CSS inline style