<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
a:link{
color: green;
}
a:hover{
color: red;
}
a:active{
color: coral;
}
a:visited{
color:#8c8c8c;
}
</style>
</head>
<body>
<h1>CSS :visited Selector</h1>
<a href="/css" target="_blank">CSS</a>
<a href="/js">JavaScript</a>
<a href="/jquery" target="_self">JQuery</a>
<p><strong>Note</strong>: Try to click on the link.</p> </body>
</html>