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>


88.1 - 867,987
Scroll down for Comments
0 0 votes
Article Rating
Subscribe
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x