Sunday, October 10, 2010

HTML Email Tag

HTML <a> tag provides you facility to specifiy an email address to send an email. While using <a> tag as an email tag then you will use mailto:email address along with href attribute. Following is the syntax of using mailto instead of using http.

<a href="mailto:abhi@gmail.com">Send Email</a>

This code will generate following link:
Send Email

Now if a user will click this link then it will lanuch one Email Client ( like Outlook Express, Lotus Notes, etc. ) installed on your user's computer.

No comments:

Post a Comment