Chrome Extension

Remove underline from link using CSS

You can use the text-decoration property of CSS to remove the underline from the link.
.link {
    text-decoration: none;
}
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place. Check how cool is the tool

To remove underline from a link or <a> HTML tag you can use CSS property text-decoration: underline;

To remove the underline from all tags use the below syntax:

a {
   text-decoration: none;
}

Remove underline from a specific element use below code by assigning a class to that element.

.cs_name {
   text-decoration: none;
}
Was this helpful?
0 Comments
Join Devsheet Ask a Question