Basic HTML

 
 
          

Links >> Link Colors >> Link

 

Standard Link Color

link - standard link - to a page the visitor hasn't been to yet. (standard color is blue - #0000FF).


This body property will set the color of all links within the BODY tag. You can use either, hexadecimal color or named color.


Define colors for individual links on the page

The method described above is for setting overall link colors for the page.


However, you might want one or more links to have different colors than the rest of the page.


There are two methods for doing this:


Using a style setting in the <a> tag.

This method works on MSIE3 and newer browsers.


The first technique would look like this:

<body link=blue>
Click <a href="http://www.yahoo.com"><font color="FF00CC">here</font></a> to go to yahoo. </body>


Note: It is important that both the <font> and the </font> tags are between the <a href> and </a> tags.

Links >> Link Colors Links >> Link Colors >> Active