How to use Alink Attribute in HTML
In this article we will discuss about how to use the alink Attribute in HTML.
The alink attribute specifies the color of an active link in a document and a link is considered to be activated only when it is clicked. In our example we have set the active link color to "green" in an HTML document. It means when the link is clicked it changed into green color link means during clicking the link it changed into green color link.
HTML Code:
<html>
<body alink="green">
<p>
<a href="http://www.google.co.in">Google.com</a></p>
<p>
<a href="http://www.gmail.com">Gmail.com</a></p>
</body>
</html>
|
Output:

In the above output we have seen that when clicking the Google.com link it is changing in green color link .
Ask Your Question
Got a programming related question? You may want to post your question here