Now it is time to take a deep breath, and concentrate a little. I really don't believe that cascading style sheets are hard to master, but they can be a little tricky. You'll probably find the constant repetition a little tedious, but I do want to reiterate what a selector does. A selector identifies elements on an HTML page.
Browsers use selectors to determine which elements on a page are affected by a statement.
Now, we saw in the previous lesson that selectors can identify HTML elements, such as paragraphs, the body, and so on. In fact, selectors can identify any html element, but they can do a lot more than that. We'll take a look at the different types of selector, then concentrate on each type, what it does, and how to use it. Kinds of Selector CSS1 introduced 7 distinct kinds of selector. We look at each kind of selector individually in the above sections.