X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 19 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 55,120 times.
Learn more...
Want email feedback from visitors to your website? Here's a few lines of HTML to allow your visitors to easily send you email. All you need is an existing web page about which you'd like to receive email.
Steps
-
1Decide to which page you want to add your link.
-
2Open the page's HTML file in your favorite editor. Notepad works just fine for Windows users.Advertisement
-
3Locate where in the file you wish to insert the link. For instance, if you want the link to appear at the bottom of your web page you should insert the code at the end of the HTML file.
-
4Type (or copy and paste) the following in the place selected in the previous step:
<a href="mailto: [youremailaddress@yourprovider.com]?subject= &body= "> Email me! </a> -
5Replace
[youremailaddress@yourprovider.com]
with your email address. -
6If you wish, enter a subject for the emails after the
subject=
portion. If not, delete subject= & -
7Also optional: Insert text that will appear in the body (main part) of the email after the body= portion. Otherwise, remove &body= (unless you have already removed the "&", in which case you will just remove "body=")
-
8If you are not using either the subject or body sections, remove
? after the email address. -
9Replace the words
Email me! with whatever text of which you wish the link to consist. -
10Save the changes.
-
11Preview your web page in the browser of your choice.
-
12If you're satisfied with your changes, upload the new page to your host. Otherwise, start back at step 1 to change your page.
Advertisement
Warnings
- Placing your email address on a web page this way may allow web spiders access to your email address, possibly making you susceptible to spammers.⧼thumbs_response⧽
Advertisement
Things You'll Need
- An HTML page on which you wish to add an "email me" link.
About This Article
Advertisement