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
element. The three states of link are given below.
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.
The default color is "#0000ff"(blue)
To override the default value, use the 'link' attribute.
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.