Question:

How do i add a class to my hyperlink to make it .......?

by  |  earlier

0 LIKES UnLike

<a href="4" class="hover">blah</a>

my page is rather long so i prefer a class...

.hover a:hover{

text-decoration:underline;

}

my current doesn't seems to work out...

I want my link to be underline when a mouse hover over it

 Tags:

   Report

1 ANSWERS


  1. a.hover:hover { }

    (.hover a:hover would be &quot;A hovered link that is a descendent of an element of class &#039;hover&#039;&quot;)

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.