html a remove underline code example

Example 1: remove style from link

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

Example 2: remove underline from hyperlink

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

Example 3: remove underline html

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

Example 4: how to remove underline from link in html

<body>
   <h2>About</h2>
   <p>
     <!-- Just add text decoration style:None -->
      Our <a href="" style="text-decoration: none;">Team</a>
   </p>
</body>

Example 5: how to remove underline from link in html

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

Example 6: remove underline from a tag

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

Tags:

Html Example