CSS link styling enables you to control the appearance of links in various states: unvisited, visited, hover, and active.
a:link {
color: blue;
}
a:visited {
color: purple;
}
a:hover {
color: green;
}
a:active {
color: red;
}
Link pseudo-classes are widely supported in browsers.