Harsh Agrawal's blog

Syntax and Selectors - CSS3 #1.2

A typical CSS code consists of a series of "rule-sets" for the different elements on your webpage. If you want to select a particular element on your webpage to style, how would you tell the browser? You will use some sort of name to specify them. The name you use to specify or select the element(s) you want to style is called a selector.

The syntax of a rule-set: