Inline style in html for OnMouseOver

One of the my project I want to define underline on link when mouse overlap. I tried and finally got the solution that how to write a inline style for onMouse Over text change.

code is
———————-
<a href=”#” style=”text-decoration:none;” onmouseover=”this.style.textDecoration =’underline’;”
onmouseout=”this.style.textDecoration=’none’;”>My Link</a>
———————-


2 Comments

  1. Hey, cool stuff.

  2. Wish, I could do some of this stuff…


Comments RSS TrackBack Identifier URI

Leave a comment