Computer Science, asked by ishaangarg2479, 10 months ago

set the color of active link as blue and visited link as red. HTML command

Answers

Answered by Anonymous
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 kush193874
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