Adding colors to your links:
There are two ways of adding colors to your links:
Adding one colors to all the links:
The color you want for the text link is mentioned in the <body> tag. It would appear as shown below:
<body link="#C0C0C0" vlink="#808080" alink="#FF0000">
The three terms used in the link above to specify the colors are:
- Link: link is used to define colors of a page the visitor has not viewed yet. The standard color in this case is blue - #0000FF.
- vlink: vlink refers to a page already visited by the viewer. Therefore, the standard color is purple - #800080.
- alink: alink represents active links. It is used to define the color of a link on which the cursor is placed. The standard color of it is red - #FF0000.
Adding different colors to different links on the page:
There are two methods to add different colors to different links on your page:
- In the first method, you place font tags between the <a href> and the <a/> tag.
This is <a href=http://radioblog.com> <font color= “FF00CC”>radio city</font><a/>
- In the second method, you define style in the tag <a>. The RGB numbers show the quantities of red, green and blue by using values between 0 and 255.
This is <a href=http://radioblog.com> style=“color:rgb (0,255,0)”>radio city <a/>
Note: The first method is not applicable for MSIE 3 whereas the second method is and it also works on the latest browsers.
The <font> tag and the </font> tag should be between the <a href> and </a> tags.
Html Discussion
- - Help me in HTML coding
- - Need Some HTML help
- - How to use HTML to make a
- - What is Markup language?
- - What is HTML?



