How To Add "Email Me" html/javascript code for your blogs,web pages

Posted by Lasantha Bandara on March 31st, 2009 File Under : email3 Comments

Adding the "Email me" link to your blog/webpage is very helpful for the visitors who want to contact you.It increases the interactivity between the visitors and your site and make them come regularly.

There are plenty of problems if you show your email address directly on your site as SPAMMERS find your email address easily via search engines,and other sources.
So,by adding this type of links will hide your email address and If your visitors want to contact you,they will click on it.If the visior want to sent to you via another source like yahoo,google,etc they will simply copy the email address(in the outlook express) and email you.
On clicking the links,WINDOWS OUTLOOK EXPRESS will be open by default.
So,how to add the "Email me" link?

There are two types of ways to do it.One is text link and another one is image link.

Text Link:

Suppose,your email id is 123@gmail.com ,here is the code you have to add

<a href="mailto:123@gmail.com">Email me </a>

Don't forget to change the email address in the above code to your's.If you want another anchor text(not "Email me"),you can change it.

Image link:

Suppose,if you want the visitors to email you by clicking on an image,First you have to upload your picture to some image hosting services.They will give a direct link for the uploaded image.Take a note of it.

In this example, the direct link for the uploaded image is http://i626.photobucket.com/albums/tt346/wam8387/bloggertipemail1.png and your email address is some 123@gmail.com ,the code you have to add is

<a href="mailto:123@gmail.com"><img src="http://i626.photobucket.com/albums/tt346/wam8387/bloggertipemail1.png" alt="Email me" width="120" height="57" border="0" /></a>

Where to paste this code in your blogger(blogspot) blog?

Sign into your blogger dashboard>layout>add a page element>html/javascript and Paste the code and save the changes.

File Under : email

3 Responses to “How To Add "Email Me" html/javascript code for your blogs,web pages”

  1. అప్పారావు శాస్త్రి says:

    Thankyou

  2. L J says:

    This was super helpful - thank you

  3. catarina says:

    tkx! that was so easy! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

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