+ 4
How can I create a valid email link, displayed without an underline?
6 odpowiedzi
+ 8
HTML
<a href="example@mail.com">My Email Link</a>
CSS
a {
text-decoration: none;
}
hope it help :)
+ 4
thanks so much 🙇♂️
+ 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>
+ 3
you're welcome
+ 2
There should be other ways to do it, isn't it?
+ 2
<a href="mailto:abc@def.com" style="text-decoration=none" >
Send </a>
Is is correct?