- Links can be styled like any other inline element
- Additional styling provides better interaction with the user via pseudo-classes
- A pseudo-class is a class that you don't have to define explicitly
- a:link
- This pseudo-class is associated with a link that has not been traversed
- a:visited
- This pseudo-class is associated with a link that has been traversed
- a:hover
- Indicates that the user hovers over the element
- a:active
- The link has been activated and is in the process of being performed.
- a:focus
- Indicates that the element is selected for keyboard input
a:link {background-color:yellow}
a:visited {background-color:pink}
a:hover {background-color:white}
a:active {background-color:lime}
Browser may skip some of these rules if not in correct order: LVHA