remove styling for link code example

Example 1: remove style from link

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

Example 2: how to remove underline from list item in html

text-decoration: none; /* remove underline in text ; put this style in <a>
container; ie : link's container */
list-style : none; /* remove bullet points from list */

Example 3: remove basic html style link

body {
  color: blue;
}
a {
  color: inherit; /* blue colors for links too */
  text-decoration: inherit; /* no underline */
}

Tags:

Html Example