CSS change link color after click
a - a:visited - a:focus - a:hover - a:active - a:target - a:selected


css

:
        /* unvisited link */
a:link {
  color: green;
}
 
/* visited link */
 a:visited {
  color: green;
}

/* mouse over link */
 a:hover {
  color: red;
}

/* selected link */
 a:active {
  color: yellow;
}     
:

hover ,


:
1-

2- a:link
3- a:hover
a:active - a:target - a:selected