CSS :visited pseudo-class property

Usage

Used for styling the properties of a visited <a> link.

Use the :link, :hover, and :active pseudo-classes to style the other link states. Note that they must be declared in the order :link, :visited, :hover, :active, and that properties from one state filter down to the next.

Example

Code:

Styling the four different link states:

a:link { text-decoration: none; }
a:visited { color: orange;}
a:hover { text-decoration: underline; }
a: active { color: silver; }