SEARCH: webmonkey  the web

 
The How-to Library:

Authoring
Design
Multimedia
E-Business
Programming
Backend
Jobs
---------
About Webmonkey



<advertisement>

Lycos Domains
Lycos Domain Names
Get email forwarding, domain management tools, and more for just 9.95 a year!

</advertisement>



Sign up for Elbow Grease,
our newsletter.

Authoring   HTML Basics
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.

If your email address were monkeyboy@webmonkey.com, your HTML might read:

<a href="mailto:monkeyboy@webmonkey.com">
monkeyboy@webmonkey.com</a>

And the page would appear like this:

monkeyboy@webmonkey.com

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

<a href="mailto:monkeyboy@webmonkey.com">
make my life miserable by sending me
more email</a>

Which appears like this:

make my life miserable by sending me more email


Got a handle on it? Now try it yourself.



Learn More
View Source
Paragraphs
Headlines
Links
Mailtos
Comment tags
Bold/Italics
Font color
Font size
Teletype
Blink
Preformatted text
Background image
Background color
Blockquotes
Line breaks
Aligning text
Adding/Aligning Images
Ordered lists
Unordered lists
Definition lists
Image borders
Wrapping text