Here is an example of how to implement what @afree said above and little more details:
These are the CSS codes for all different states for the Hyperlink element:
1.To style an non-visited hyperlink (normal link) :
2. To Style a visited hyperlink :
3. To Style a hovered hyperlink (when mouse is over the link) :
4. To style an Active link (selected or focused) :
Those are all the possible states for a hyperlink element using CSS.