Check out example codes for "css url do not change color of visited links". It will help you in understanding the concepts better.

Code Example 1

a {
    text-decoration: none;
}

a:link, a:visited {
    color: blue;
}

a:hover {
    color: red;
}

Learn ReactJs, React Native from akashmittal.com