Quick Tip Quick Index

Mailto Link with Subject

Let's say you want to put a link on your site so that people interested in aardvarks can write you. Here's how your code would look inside a sentence referring to aardvarks:
E-mail me for more information on <A HREF="mailto:your-email-address.com?Subject=Tell me more about aardvarks">aardvarks</A>, and I'll get back to you as quickly as possible.

If the browsers reading this code accept it, the sender's e-mail program will open, the sender and subject line will both be filled in, and the sender can begin writing the message.

Back to Quick Tip Quick Index

Caveat: all tutorials are designed for the most frequently used browsers and systems, and may not work in all instances. All files on the parent directory are copyrighted by WebGrammar®. Any reproduction or editing by any means mechanical or electronic without the express written permission of the copyright holder is strictly prohibited. For further information, contact Judy Vorfeld