Answers for "remove underline from link in html"

CSS
9

remove underline from hyperlink

a, a:hover, a:focus, a:active {
      text-decoration: none;
      color: inherit;
 }
Posted by: Guest on December-21-2019
10

how to remove underline from link in html

<body>
   <h2>About</h2>
   <p>
     <!-- Just add text decoration style:None -->
      Our <a href="" style="text-decoration: none;">Team</a>
   </p>
</body>
Posted by: Guest on August-26-2020
6

how to remove underline from link in html

<a href="http://yoursite.com/" style="text-decoration:none">yoursite</a>
Posted by: Guest on April-25-2020
0

how remove underline from link in html

a:link - a normal, unvisited link
a:visited - a link the user has visited
a:hover - a link when the user mouses over it
a:active - a link the moment it is clicked

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}
Posted by: Guest on August-22-2021

Code answers related to "remove underline from link in html"

Browse Popular Code Answers by Language