how to remove underline from anchor tag code example

Example 1: remove underline from link css

a, a:hover, a:focus, a:active {
      text-decoration: none;
      color: inherit;
 }

Example 2: remove underline anchor tag

{
	text-decoration: none;
}

Example 3: how to remove underline from link in html

<a href="http://yoursite.com/" style="text-decoration:none">yoursite</a>

Example 4: remove underline from a tag

<a style="text-decoration: none">my link</a>

Example 5: remove underline in anchor tag

text-decoration:none;

Example 6: remove underline from span inside anchor

a span{display: inline-block}

Tags:

Css Example