Links Cheat Sheet

A quick recap of the rules to style links in CSS.

Tag

Function

Default Look

a Link in general Underlined
a:link Link in basic state Underlined
a:visited Link once visited Purple
a:focus Link that's selected with the 'TAB' key. Outlined
a:hover Link when hovered Pointer turns to a hand hand pointer
a:active Link when being clicked Red

• Note that the "a" should be replaced by the class or id name you have chosen to identify your link with.