How to create a valid email link without an underline? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to create a valid email link without an underline?

Even after assigning none to text-decoration attribute, the link still gets underlined on the webpage.

29th Jun 2018, 12:24 PM
Lucifer12674
Lucifer12674 - avatar
4 Answers
+ 2
<a href="mailto:admin@sololearn.com" style="text-decoration:none">Email us</a>
29th Jun 2018, 12:36 PM
Calviղ
Calviղ - avatar
+ 2
thanks Calvin
29th Jun 2018, 12:39 PM
Lucifer12674
Lucifer12674 - avatar
0
got it the code goes like this: <a href="mailto:abc@gmail.com" style=text-decoration:none">Send</a>
29th Jun 2018, 12:35 PM
Lucifer12674
Lucifer12674 - avatar
0
I used css instead of style my bad
29th Jun 2018, 12:36 PM
Lucifer12674
Lucifer12674 - avatar