Changing hyperlink color

Student wants to know how to change the default color of a hyperlink - before it’s clicked and after.

Hi @GordonBrune,

My favorite resource for CSS questions beyond what isn’t specifically covered in CSD is w3schools. Here is the page on w3schools that covers how to color links in their different states. Specifically it is:

  • a:link - a normal, unvisited link
  • a:visited - a link the user has visited
  • a:hover - a link when the user mouses over it
  • a:active - a link the moment it is clicked

Hope that helps!
~Michelle

1 Like