CSS Links
With CSS, links can be styled in different ways.
Links can be styled with any CSS property (e.g. color, font-family, background, etc.).
Styling Links
In addition, links can be styled differently depending on what state they are in. The four links states are:
a:link- a normal, unvisited linka:visited- a link the user has visiteda:hover- a link when the user mouses over ita:active- a link the moment it is clicked
Preview
Note: When setting the style for several link states, there are some order rules:
a:hoverMUST come aftera:linkanda:visiteda:activeMUST come aftera:hover
Text Decoration
Removing text decoration (underlining) is a common styling step for links.
Preview
Advanced Link Buttons
You can combine several CSS properties to display links as completely styled rectangles/buttons.
Preview