So far we have created style sheets for independent classes and added them to one or more HTML tags. We have also use psuedo classes such as ":hover". However when use psuedo classes, they impact all iterations of the tag (in this case the anchor tag). It is possible to create classes of psuedo classes and apply those classes to some tags, and not others.
In this excercise we're going to create classes for psuedo class ":hover" of anchor tag (<a>) and then apply it to some anchor tags and not others
The following are standard links
The following is a link that is not underlined
CNNThe following is a link that is not underlined AND turn cyan after it has been visited:
The following is a link that is not underlined by default but gets underlined when you hover over it
CNNThe following is a link that is not underlined by default but gets underlined and changes color when you hover over it
CNNThe following is a link which when clicked opens the link in a new tab
CNNBesides the "hover" psuedo class, the anchor tag also has the following psuedo classes
NOTE: "a:hover" MUST come after "a:link" and "a:visited" in the CSS definition in order to be effective.
NOTE: "a:active" MUST come after "a:hover" in the CSS definition in order to be effective.