Pages

Email Links in a Web Page – mailto

To add an email address into a web page it is just as easy as adding any other link in a web page.

This is the code to use:

<a href=”mailto:me@mysite.xxx“>E-mail</a>

If you want to pre-fill the subject, you can use this option:

<a href=”mailto:me@mysite.xxx?subject=my subject is“>Email me about</a>

To have a copy of the email sent to another address, just add the cc address, eg:

<a href=”mailto:me@mysite.xxx?subject=my subject is&cc=another@mysite.xxx“>Email me about</a>


Leave a Reply

  

  

  


*

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>