how to remove all styles from a tag code example
Example 1: remove styling from a tag
a, a:hover, a:focus, a:active {
text-decoration: none;
color: inherit;
}
Example 2: reset a tag css
a {
color: inherit;
text-decoration: inherit; /* no underline */
}
Example 3: remove style from a tag
a { color: inherit; }
Example 4: remove basic html style link
body {
color: blue;
}
a {
color: inherit; /* blue colors for links too */
text-decoration: inherit; /* no underline */
}