How to use Alink Attribute in HTML

In this article we will discuss about how to use the alink Attribute in HTML.
  • 2453

 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:


<body alink="green">


        <a href=""></a></p>


        <a href=""></a></p>





In the above output we have seen that when clicking the link it is changing in green color link .

Ask Your Question 
Got a programming related question? You may want to post your question here


More Articles

© 2020 DotNetHeaven. All rights reserved.