There are three states of a link. Each state has a particular color associated with it by default. These values can be overridden by setting specific attributes of the
<body>..</body>
element. The three states of link are given below.
active state
Only one page can be active on a page at a time.
The active link is rendered with a rectangle around it.
The default color is "#ff0000"(red)
To override the default value , use a 'alink' attribute.
non-visited state
The default color is "#0000ff"(blue)
To override the default value, use the 'link' attribute.
visited state
The default is "#551ab8" or "#800080"
To override the default value use the 'vlink' attribute.
The visited state of a web page is permanently recorded by a browser and is maintained over multiple sessions.