Change the Color of Link when a Mouse Hovers

To change the color of a link when we bring a mouse pointer over that link, use the: hover property.


You can try to run the following code to change the link color:

         a:hover {
            color: #FFCC00
      <a href = "">My Link</a>
karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know