Having a link for your website's visitors to send you an email is a great way to make it easy for them to contact you. When you create an email link, the visitor will just click on the link and it will open their email client with a new message window. The new window will be pre-populated with the "To:" field that you specify. 

In this case we use a special tag called a mailto tag. It is structured very similar to a hyperlink or <a href> tag, but instead of a webpage it opens the visitors email client. Below are a few examples of links that will allow visitor's to send an email.

<a href=mailto:webmaster@inmotiontesting.com">Contact Me</a>
<a href="mailto:support@inmotiontesting.com">Need help? Send Support an Email</a>

So as the above code illustrates we use an <a href> tag however instead of providing a normal URL or web page to link to we specify that this is an email link with the mailto attribute. Many web designers have abandoned the use of the mailto tag in favor of using contact forms on the actual page. Contact forms do not require the customer to have an email client installed and can reduce the amount of spam your email account receives. Using the mailto tag is a quick and simple way to quickly allow your visitors to contact you. 

Please check the next article on Opening a new window with a link. If you missed our previous article, please see the Creating a link to another web page tutorial. For more information on this course please visit Inserting Links into a Website

Continued Education in Course 103: Inserting Links into a Website
You are viewing Section 2: Creating an Email Link in your Webpage
Section 1: Using the anchor tag to create links
Section 3: Opening a new window with a link
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!