Setting link color in html


We can change active link color with help of alink attribute of body tag



<html>
<head>
<title>Your page title</title>
</head>
<body alink="ff00ff">
Here we write of actual web page text.
<a href="mypage.htm">Next page</a>
</body>
</html>

We can change color of hyperlinks with link attribute of body tag

<html>
<head><title>Your page title</title></head>
<body link="ff00ff">
Here we write of actual web page text.
<a href="mypage.htm">Next page</a>
</body>
</html>