Remove underline from hyperlinks in page using CSS

We can use the text-decoration property for the link to specify if we need an underline or not. If we set the text-decoration property to none, we can remove underlines from hyperlinks in our html page.

a:link, a:visited {
  text-decoration: none;
}

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.