+ 3
How can we remove underline from a text between anchor/link element in HTML?
Below is an example of the question to which an understandable answer will highly be appreciated. Example: <a href=âhttps://www.sololearn.comâ>Linked Text</a>
3 Answers
+ 29
Yes By Using The Style Attribute With Value:
Style="text-decoration:none;"
+ 6
<a href="https://www.sololearn.com" style="text-decoration:none">Linked Text</a>
+ 2
You can also use link styling to make links with no underline, but then have it appear on mouseover to show it is a link, and do odd stuff too.
a:link {
text-decoration:none;
}
a:visited {
text-decoration:line-through;
}
a:hover {
text-decoration:underline;
}
a:active {
text-decoration:underline overline;
}
And of course you can specify the colors of the different states.