Styles for Links with Classes
You may have links within the content of a page that you want to be different than the links your may have in your div tags. You can define them using a class.
Styling a link using a class has two steps. You don’t have to do them in order. Just do both.
Step 1 - Create the selectors in the CSS:
a.elephants:link {color: red; text-decoration:none; }
a.elephants:visited {color: purple;}
a.elephants:hover {color: orange;}
a.elephants:active {color: blue;}
Step 2 - apply the class to the link:
<a href=”classlinks.html” class=”elephants”>click </a>
This method would work great to create links within your body copy.