coloring the links in CSS

How to color the links in CSS?


/* 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;
<body><p><a href=”t4tutorials.html” target=”_blank”>Click here for T4T</a></p>



Subscribe for Friendship

Latest posts by Prof. Fazal Rehman Shamil (see all)

Buy advertisement space on T4Tutorials

For more details email [email protected]