Common Uses of Link States in CSS
Typically, states are specified for all types of links at the same time, and then the behavioral features of the link when hovering over it with the mouse are added below, like this:
a {
color: red;
}
a:hover {
text-decoration: none;
}
<a href="#">link</a>
:
Make all links in all states blue and ununderlined, and in the :hover state red and underlined.