More about simple selectors you’ve already been using
How to use
What the universal selector is and when to use it
What pseudo-classes and pseudo-elements are and how they can be used
How to specify styles that affect hypertext links
As you learned in Hour 2, “Getting Started with CSS,” selectors are the part of the CSS rule that identifies the target of the styling. Putting the power of selectors to use is vital for getting the most out of CSS.</feature>
You’ve seen the simplest type of selectors already: type selectors,
class selectors, and
id selectors. In this hour, you’ll look at how you can use them more effectively.
So far you ...