Help Index

Back to
geocities

html
Mailto

<a href="mailto:?"> creates a mailto
</a> closes a mailto

Not every link on the Web leads to another Web page. Often, pages include links that let people send email to a particular address. This type of link is known as a "mailto," and is just as easy to build as a link to another page.

When creating a link, you sandwich the linked words with the tags
<a href="?"> and </a>. A mailto is exactly the same, except you replace
the ? with an email address instead of a URL.

Here is the HTML for a link allowing the person "clicking" it to send you email.

<A HREF="MAILTO:yourname@yourprovider.com">Email me.</A>

Substitute your email address in the tag of course. Write what ever you want to show on the web page between the opening and closing tags, such as "Email me" or "Email Karen". It is good to always include an email link to yourself on your webpage. This way people viewing your page can give you feedback.

If your email address were websurfer@surfer.com, your HTML might read:

<a href="mailto:websurfer@surfer.com">
websurfer@surfer.com</a>

And the page would appear like this:

websurfer@surfer.com

Of course, the words can say anything you want, such as:

<a href="mailto:websurfer@surfer.com">
Send me some email!
</a>

Which appears like this:

Send me some email!

Return to Help Index

mailbox ksv@earthling.net

Top | Home | Contents | Tutorials | On-Line Classes | Free Homepage | Graphics |
Publicize | Color Chart | Gadgets | Rings 'n Things | Awards |
Personal Help |