CSS Basic Tutorial
In CSS, you can style hyperlinks (links) using pseudo-classes that represent different states of the links. The most commonly used pseudo-classes for links are:
:link
: Targets an unvisited link.
:visited
: Targets a link that has already been visited.
:hover
: Targets a link when the user hovers over it with the mouse.
:active
: Targets a link at the moment it is being clicked.
Try it yourself