Mailto


The mailto function

Mailto is not expressly an HTML tag; mailto is a separate program you can use from within HTML tags. The mailto function creates a link that, when clicked on, displays a separate window which allows users to write and send an email message to the specified email address(es). You can send mail to multiple addresses by separating all email addresses with a comma and space. The mailto function is supported by all major browsers (even Lynx).

The tag looks like this:

     An <a href="mailto:emailaddress">email address or name</a> to click on.
and appears like this on your page:
     An email address or name to click on.

Return to the Advanced HTML tutorial