+ 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>

3rd Mar 2019, 10:38 PM
Sheikh, TAIMUR Abdulrehman (‫(إِبنِ يُوسُف‬
Sheikh, TAIMUR Abdulrehman (‫(إِبنِ يُوسُف‬ - avatar
3 Réponses
+ 29
Yes By Using The Style Attribute With Value: Style="text-decoration:none;"
4th Mar 2019, 6:14 PM
K͜͡ɩnɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - avatar
+ 6
<a href="https://www.sololearn.com" style="text-decoration:none">Linked Text</a>
4th Mar 2019, 12:12 AM
Diego
Diego - avatar
+ 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.
4th Mar 2019, 5:51 AM
Mike
Mike - avatar