normal
So let's say we want all first-level headings to be maroon. The best declaration would be:
H1 {color: maroon;}
Simple, straightforward, and difficult to forget. It doesn't get much better than that. Here are a few more examples:
A:link {background: white; color: blue;}A:hover {background: blue; color: white;}These styles will cause anchors to "reverse" in colorwhen the mouse pointer hovers over them, as illustrated in Figure 10-9.
As a matter of fact, the rule for A:hover would beused while the pointer hovers over any anchor, not just a hyperlink.While some other pseudo-classes, like :link and:visited , are constrained to the