anchor tag remove underline code example
Example 1: remove underline from hyperlink
a, a:hover, a:focus, a:active {
text-decoration: none;
color: inherit;
}
Example 2: how to remove all defualt underline in css
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: underline;
}
Example 3: remove underline anchor tag
{
text-decoration: none;
}
Example 4: remove underline in anchor tag
text-decoration:none;
Example 5: remove underline from span inside anchor
a span{display: inline-block}