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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Priya LingePosted Dec 2, 2011, 12:44 AM
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.
Akash AhlawatPosted Dec 2, 2011, 12:58 AM
Now I can understand.
Thanks Priya
Akash AhlawatPosted Dec 2, 2011, 12:22 AM
Then what is this active link?
Priya LingePosted Dec 1, 2011, 11:43 PM
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 AhlawatPosted Dec 1, 2011, 7:17 AM
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 LingePosted Dec 1, 2011, 12:36 AM
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.