Alink and vlink
Why we use alink and vlink in HTML?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Priya LingeRank #785 · 2.9K reputationPosted Dec 1, 2011, 7:44 PM EST
ALINK :a link is activated when it is clicked.
google.com
HTML Tutorial
Eample : google.com I set ALink to Red when click on google.com
It will be red google.com (After click on google.com) its activated.
Eample : google.com I set VLink to Green then google.com
will be green google.com no need to click on google.com to appear green color.
Check below link and try ur self.
http://www.w3schools.com/TAGS/att_body_alink.asp.
Thanks.
Priya LingeRank #785 · 2.9K reputationPosted Nov 30, 2011, 7:36 PM EST
1.LINK : LINK which sets the color of links you haven't followed .
2.VLINK : VLINK which sets the color of links you have followed .
The vlink attribute allows you to change the color of all links to pages that
have previously been visited.
3.ALINK : ALINK which sets the color of links as you click on them .
For more information please check below link.
http://reference.sitepoint.com/html/body/vlink
http://www.htmlcodetutorial.com/document/_BODY_TEXT.html
Hope this will help you.
Thanks.
Akash AhlawatRank #3,915 · 379 reputationPosted Dec 1, 2011, 2:17 AM EST
I am confused,you said vlink change the color of link you have previously visited and alink sets the color of links as you click on them(means they are also visited)..so both alink and vlink seems same to me.
Priya LingeRank #785 · 2.9K reputationPosted Dec 1, 2011, 6:43 PM EST
No,
ALINK means "An Active Link" color of link while it is being followed.
VLINK means "A Visited Link" color of link after it has been followed.
Please check this,
http://www.htmlcodetutorial.com/document/_BODY_TEXT.html
Thanks.
Akash AhlawatRank #3,915 · 379 reputationPosted Dec 1, 2011, 7:22 PM EST
Then what is this active link?
Akash AhlawatRank #3,915 · 379 reputationPosted Dec 1, 2011, 7:58 PM EST
Now I can understand.
Thanks Priya