coloring the links in CSS

How to color the links in CSS?

Example:

<html>
<head>
<style>
/* link is not visited still */
a:link {
color: green;
}/* link is visited before */
a:visited {
color: blue;
}/* when mouse reached the link */
a:hover {
color: pink;
}/* Link is opened at the current moment */
a:active {
color: red;
}
</style>
</head>
<body><p><a href=”t4tutorials.html” target=”_blank”>Click here for T4T</a></p>
</html>

 

 

Welcome to all friends. The reason for our success is only your love for T4Tutorials. Our team is always available to answer your queries regarding any kind of confusions or discussion regarding your study and career matters. For discussion with us please join our facebook group "T4Tutorials.com". The link of the group is mentioned below.Thanks and love to all for connecting with us. We are nothing without you. Love you all.....

Leave a Reply