<html>
<head>
<style type=“text/css”>
a:link {color:#FF0000} /* unvisited link */
a:visited {color:#00FF00} /* visited link */
a:hover {color:#FF00FF} /* mouse over link */
a:active {color:#0000FF} /* selected link */
</style>
</head>
<body>
This is a link
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.
</body>
</html>
Learn more from http://www.w3schools.com