How to remove the text underline in anchor tag CSS?


I have an <a> tag in my HTML as below

<a href="#">click here</a>

When I see in browser there is an underline to the text, how to remove that underline?

1 Answer

4 years ago by

To remove that underline you need to use the text-decoration property

<a style="text-decoration:none;" href="#">click here</a>
4 years ago by Divya