Advertisements
Advertisements
Question
Consider the following HTML statement:
<body bgcolor = "Blue" alink = "red" vlink = "yellow">
In the above statement, what do you mean by ‘alink’ and ‘vlink’?
Short Answer
Advertisements
Solution
alink specifies the colour of an active link, while vlink specifies the colour of a visited link. When a link is active, it appears in the colour given by the alink attribute. After the link has been visited, it appears in the colour given by the vlink attribute.
In the given code, the active link will appear red, and the visited link will appear yellow.
shaalaa.com
Is there an error in this question or solution?
