QUICK LINKS

LINKS

Links are one of the only sets of attributes that need to be in a set order. They must appear in the order link, visited, hover, then active. The easiest way to remember it is LoVe/HAte. Each can then be set up as desired. Link is an unvisited link, visited is clearly one that has been clicked, hover when the mouse is above a link, and active a selected link. The following code is from this site itself:

a {
      text-decoration: none;
      font-size:13px;
      }

a:link {
      color: #fff;
      }

a:visited {
      color: #fff;
      }

a:hover {
      color: #f37421;
      }

a:active {
      color: #fff;
      }


Quick Reference

a:link
An unvisited link

a:visited
A link that has already been clicked

a:hover
When the mouse hovers over a link

a:active
A selected link