set the color of active link as blue and visited link as red. HTML command
Answers
Answered by
3
Answer:
Changing link color on hover using CSS
To change the color of your link on hover, use the :hover pseudo property on the link's class and give it a different color.
Answered by
6
Answer:
Explanation:
<style>
a:link {
color: green;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: red;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: yellow;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: blue;
background-color: transparent;
text-decoration: underline;
}
</style>
Similar questions