Links

Links can be styled using the following pseudo class selectors:

  • a:link
    • Link has not been visited, mouse pointer not hovering over
  • a:visited
    • Link has been visited, mouse pointer not hovering over
  • a:hover
    • Mouse pointer hovering over
  • a:active
    • Link is being clicked

 

The order in which they are defined is strictly mandated to follow the LVHA order:

 

a:link { color:#FF0000; }
a:visited { color:#0000FF; }
a:hover { color:#00FF00; }
a:active { color:#FF00FF; }

Leave a Reply