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

  1. 1
    Decide to which page you want to add your link.
  2. 2
    Open the page's HTML file in your favorite editor. Notepad works just fine for Windows users.
    Advertisement
  3. 3
    Locate 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.
  4. 4
    Type (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>
  5. 5
    Replace
    [youremailaddress@yourprovider.com]
    with your email address.
  6. 6
    If you wish, enter a subject for the emails after the
    subject=
    portion.
    If not, delete subject= &
  7. 7
    Also 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=")
  8. 8
    If you are not using either the subject or body sections, remove
     ?
    after the email address.
  9. 9
    Replace the words
    Email me!
    with whatever text of which you wish the link to consist.
  10. 10
    Save the changes.
  11. 11
    Preview your web page in the browser of your choice.
  12. 12
    If you're satisfied with your changes, upload the new page to your host. Otherwise, start back at step 1 to change your page.
  13. 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

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.
How helpful is this?
Co-authors: 19
Updated: September 24, 2019
Views: 55,120
Advertisement