SQL PHP HTML JavaScript articles and free code If you are facing any problem in viewing this page, please tell us
 

E-Mail Links(MailTo)


Unlike normal hyperlinking, E-mail links are used for special purpose. E-Mail links are also know as "MailTo" links. This type of linking is mainly used when byclicking on the link should cause the user's computer to open its default mailing program with the specified address instead of linking to a new page. This can be done like this:

            <A href="mailto:EmailAddress"> ... </A>

  Example:

  Mailto Link Example -- This links opens the default mailing program in your computer with the To Address admin@sitename.com

 

Code:

<a href="mailto:admin@sitename.com" link="red" alink="green"
 vlink="maroon"> Hyperlink Example </a>

Note: We can also specify the default subject that has to be mailed.

For example,
Mailto Link with Subject -- This link opens the default mailing program in your computer with To Address admin@sitename.com and subject defaulted to "Hello"

Note: This subject property is not supported by all browsers or email programs. Browsers/Email programs that doesn't support the subject will just ignore it.



Sections
PHP
JavaScript
ASP
HTML
SQL
Photoshop
Articles SEO
List of HTML Tutorial
HTML Tags
HTML Calendar
Tags on web page
Web Design
Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.