link colors

Link colors-

Link colors can be used to the change colors of hyperlinks is a good practice to know more about links.By default, Hyperlinks are blue in color. But we can change its default color, We can also change the colors of activated links and visited colors of Hyperlinks by using attributes LINK, ALINK in <BODY>tag respectively.

link colors


These can be used as:

  • LINK--- This attribute is used to change color of hypertext when appeared first, It is used in <BODY> tag as:-
<BODY LINK="RED">                                                       

<A HREF="Library.html"> Library</A>

</BODY>

Now hyperlink Library, will appear RED in color.


  • ALINK--- This attribute is used to change the color of activated link i.e. the Hyperlink which is being clicked or activited. It is used as:
<BODY LINK="RED" ALINK="YELLOW">

<A HREF="Library.html">Library</A>

</BODY>

Now color of activated link will change to YELLOW.

  • VLINK---This attribute is used to change the color of visited link i.e. the link which have already opened
<BODY LINK="RED" ALINK="YELLOW" VLINK="PINK">

<A HREF="Library.html">Library</A>

</BODY>

This will change color of visited links to PINK.






HTML color codes
HTML color codes
HTML color codes
HTML color codes
HTML color codes
HTML color codes
HTML color codes
HTML color codes
HTML color codes
HTML color codes

Post a Comment

0 Comments