HTML Link - Different Color
An HTML link is displayed in a different color depending on whether it has been visited, is unvisited, or is active.
By default, a link will appear like this:
- An unvisited link is underlined and blue
- A visited link is underlined and purple
- An active link is underlined and red
Single line comment
<style>
a:link {
color="blue";
}
a:visited {
color="purple";
}
a:active, a:hover {
color="red";
}
</style>