How to provide underline on anchor tags when mouse is put on anchor tag?

 Posted by vishalneeraj-24503 on 8/1/2014 | Category: CSS 3 Interview questions | Views: 320 | Points: 40
Answer:

Use hover class and inside hover class use text-decoration in-built css property and give it an underline value.
<style type="text/css">

a:hover
{
text-decoration:underline;
}
</style>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response