How do I create a mailto link on my page? Print

  • 1

The mailto command will place blue wording on the screen that people can click to send you a piece of e-mail.

Here's the code you will need to add to your page:

<a href="mailto:[email protected]">Click Here To Email Me</a>

This is written in the same format as a hyperlink except in the link you write "mailto:" in place of the http:// and your e-mail address in place of the page address.

It is important to remember to place your </a /> flag at the end.

Please notice there is NO SPACE between the colon and the e-mail address.

Here's what you get using the "mailto:" command above: [email][email protected] [/email] When you click on the above, you will get an e-mail dialogue box addressed to whatever address you specified.


Was this answer helpful?

« Back