How to remove underline from anchor tag in HTML using CSS

Today we are going to learn How to remove underline from <a> anchor link in HTML using CSS. Sometimes we have to remove the underline that comes below the text when we use anchor tag on it. There are many ways to find How to remove underline from <a> anchor link in HTML using CSS code.

Sample for implementing code:

<html>
<head>
<style>
.nounder{
text-decoration:none;
}
</style>
</head>
<body>
<div>
<a class="nounder" href="gurungtech.com">
No underline on this text.
</a>
</div>
</body>
</html>

Output

No underline on this text.

Facebooktwittergoogle_plusredditpinterestlinkedinmail
1 Star2 Stars3 Stars4 Stars5 Stars (12 votes, average: 5.00 out of 5)
Loading...

Leave a Reply

Your email address will not be published. Required fields are marked *