Using CSS, it's easy to apply a custom color to a link when you hover over it using:
.myId:hover{
color:green;
}
But what about a style tag? You can do something line by line:
<a style="*insert nifty markup here to change color on hover*" href="somewhere.html">text</a>
Or the hover color changes only according to the first method (using only html / css, javascript is not allowed).
source
share