CSS :active pseudo-class property


Used for styling the properties of an active <a> link.

Use the :link, :visited, and :hover 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.



Styling the four different link states:

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