+ 1

Composed link in HTML

How do you create a composed link in HTML? This is what I did... <a href=“(I copied and pasted my gmail url with my composed email open)” target=“_blank”>(my name)</a> But that only opened up my entire email account. I also tried it this way... <a href=“mailto:webmaster@example.com”>Jon Doe</a> Neither worked for me.

7th Mar 2021, 4:48 AM
Destin Smith
3 Answers
0
If you want to compose email using a hyperlink then "mailto:example@email.com" is the way to go. It didn't work for you probably because you didn't setup an email client in your device. So the temporary solution could be using this href: "https://mail.google.com/mail/?view=cm&fs=1&tf=1" It works fine in pc but didn't work well in my android though. And as it is an url it can change later. So for permanent solution, you should set up your email client properly and use "mailto:example@email.com".
7th Mar 2021, 5:04 AM
Abir Hasan
Abir Hasan - avatar
0
i checked my gmail and my email client is set to enable.
7th Mar 2021, 6:01 AM
Destin Smith
0
mailto: works perfectly for me. Not sure what could be causing the problem. Maybe you can try other client like Microsoft's email client if you're on windows.
7th Mar 2021, 6:06 AM
Abir Hasan
Abir Hasan - avatar