Colors on Text Links in HTML

There are few settings that can be useful for controlling the colors of text links.

This page will teach us how to:

  • Define colors for all links on the page.
  • Define colors for individual links on the page.

Define colors for all links on the page

The general color of text links is specified in the <body> tag, like in the example below:


<body link ="#C0C0C0" vlink = "808080" alink = "FF0000">


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

  • vLink - visited link - to a page the visitor has been to before. (standard color is purple - #800080)

  • aLink - active link - the color of the link when the mouse is on it. (standard color is red - #FF0000).

Comments

0 Responses to "Colors on Text Links in HTML"

Post a Comment

Your feedback is always valuable for us :

About Me

My photo
Vision :- "To be a reputed institution of Smart People who Add Value Across Generation". Mission :- We are dedicated to Spreading Literacy in Society and Helping People choose Value for Money Products for Better Living.We are also adding health awareness and wellness to the society of India." We are distributor and promotors of India's Largest IT products Direct Selling Company with a reach of more than 250 cities nationwide. We have a strong internet R&D base to bring out cost effective and Quality products.