Each of these pseudo classes shares specificity —they are all styling links. If a pseudo class falls into more then one category, such as visited and hovered, the last set of CSS rules listed will take precedence. That means if the visited state's style is listed after the hovered state and their styling is different, the hover may stop working once the link has been visited.
L | o | V | e | H | A | t | e |
I | I | O | C | ||||
N | S | V | T | ||||
K | I | E | I | ||||
T | R | V | |||||
E | E | ||||||
D | |||||||
If you write a set of rules for the selector 'a:link' they are specific to an unvisited link and will not be inherited.
The shared rules would have to be written for each of the pseudo classes.
a:hover{
font-size:2em;
font-family:helvetica,arial,sans-serif;
color:purple;
}
a:hover{
color:purple;
}
The only time you must use 'a:link' is if you are using named anchors for jump links.