Click here to Skip to main content
15,886,873 members

here is one example just try it....:)

HTML
<html>
<head>
<style>
a:link {color:#FF0000;}    /* unvisited link */
a:visited {color:#00FF00;} /* visited link */
a:hover {color:#FF00FF;}   /* mouse over link */
a:active {color:#0000FF;}  /* selected link */
</style>
</head>

<body>
<p><a href="http://niravprabtani.kumsworld.com" target="_blank">This is a link</a></p>
<p>Note: a:hover MUST come after a:link and a:visited in the CSS 
definition in order to be effective.</p>
<p>Note: a:active MUST come after a:hover in the CSS definition in order 
to be effective.</p>
</body>
</html>
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900