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

How can I create a valid email link, displayed without an underline?

13th May 2018, 5:39 PM
Marjaneh Mahmoodi
Marjaneh Mahmoodi - avatar
6 Answers
+ 8
HTML <a href="example@mail.com">My Email Link</a> CSS a { text-decoration: none; } hope it help :)
13th May 2018, 5:49 PM
Amethyst Animion
Amethyst Animion - avatar
+ 4
thanks so much 🙇‍♂️
15th May 2018, 9:23 AM
Marjaneh Mahmoodi
Marjaneh Mahmoodi - avatar
+ 3
It's almost correct, you must use colon (:) to separate css property with value. correct version <a href="mailto:abc@def.com" style="text-decoration:none" > Send </a>
15th May 2018, 9:18 AM
Amethyst Animion
Amethyst Animion - avatar
+ 3
you're welcome
15th May 2018, 9:33 AM
Amethyst Animion
Amethyst Animion - avatar
+ 2
There should be other ways to do it, isn't it?
13th May 2018, 7:42 PM
Marjaneh Mahmoodi
Marjaneh Mahmoodi - avatar
+ 2
<a href="mailto:abc@def.com" style="text-decoration=none" > Send </a> Is is correct?
13th May 2018, 8:23 PM
Marjaneh Mahmoodi
Marjaneh Mahmoodi - avatar