Answers for "how to change the color of link after clicking"

CSS
1

on clicking a link it gets red color

a {
    color: inherit;
}
/*Use this so that when you click a link the color dont change to red ( as it is default )*/
Posted by: Guest on January-26-2021
0

link changes color after being clicked

a:link, a:visited {
    color: red;
}
Posted by: Guest on September-25-2020

Code answers related to "how to change the color of link after clicking"

Browse Popular Code Answers by Language