Learn how to use the Mailto HTML protocol for creating clickable email links on your web page. There are some advanced features of HTML Mailto syntax which you should learn. I have shared Mailto Syntax example this post so that you can learn them quickly.
Mailto syntax lets you create directly clickable email links which you can use while creating any web page. The links that you will create using Mailto Syntax support modern day web email clients like Gmail on your browser.
Clicking on the email link will directly open Gmail’s compose a new email for you on your browser new tab. Otherwise, it will open the default mail client which you have installed on your computer (like Mozilla Thunderbird) to compose a new email.
There’s a possibility if you are reading this post then you already know about HTML Mailto function. And how you to use it for quickly linking to an email id on a web page. But, as I have already told you earlier there are some advanced features which you don’t know about. You can learn them from below.
Using the HTML Mailto Syntax
You can check below for the real examples of the Mailto syntax’s advanced features. You can test these directly by typing any one of the following syntaxes into your browsers address bar.
- Send an email to Single Recipient
- Send an email to Multiple Recipients (using a Comma)
- Send an email to Someone and Add Others to CC: list and BCC: list to other people.
- Send an email to Someone with the subject “Hello World.”
- Send an email to Someone with the subject “Hello World” and some text in the body of the email message.
Note: While using these, you need to remember few things – you can only use one “?” character and you have to use %20 for the space character and %0A to add a line break in the body text. With these things in your mind, you are ready to go.
In case you want to share your opinion about this post, you can do that by commenting below. Also, feel free to share your thoughts about HTML mailto syntax, Thanks for reading.