Computer Science, asked by ishaangarg2479, 8 months ago

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

Answers

Answered by Siddhi1137
0

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>

Answered by kush193874
4

Answer:

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.

Similar questions