Answers for "href how to remove underline"

CSS
13

remove style from link

a, a:hover, a:focus, a:active {
     text-decoration: none;
     color: inherit;
 }
Posted by: Guest on February-22-2020
9

remove styling from a tag

a, a:hover, a:focus, a:active {
      text-decoration: none;
      color: inherit;
 }
Posted by: Guest on December-21-2019
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 "href how to remove underline"

Browse Popular Code Answers by Language