CSS has several options for redefining the style of links.
LINK PROPERTIES
Property |
Values |
NS |
IE |
A:link
A:visited
A:active
A:hover |
<style>
<style>
<style>
<style> |
4+
4+
4+
6+ |
4+
4+
4+
4+ |
|
DEFINING STYLES FOR LINKS
As mentioned in the above table, there are four different selectors with respect to links.
You can specify whatever style you'd like to each of these selectors, just like you'd do with normal text.
The four selectors are:
A:link
Defines the style for normal unvisited links.
A:visited
Defines the style for visited links.
A:active
Defines the style for active links.
A link becomes active once you click on it.
A:hover
Defines the style for hovered links.
A link is hovered when the mouse moves over it.
Note: Not supported by Netscape browsers prior to version 6.
|
|
|