|
If you want to receive Email from visitors to your site, it's very easy to setup a basic Email link.
In its most basic form, an Email link will pop up the users Email Client (either included with their browser or an external program) provided their browser has this capability.
The basic syntax to accomplish this is very simple:
Just below is a sample of mailto HTML syntax:
<A HREF="mailto:YourID(or Netname)@prodigy.com"> Send Email to netname@prodigy.com</A> |
The finished link on your page, after you edit the syntax shown above to use yourID@prodigy.com or your netname@prodigy.com would look similar to the sample below:
If you also include your Email Address in a clickable link, even if the visitor's browser doesn't support sending mail directly, your Email address is displayed for reference.
With just a little more work, you can create a slightly more sophisticated Email/Mailto link that will work with most forms capable web browsers.
This method automatically displays a form to the visitor selecting this link. This method allows you to optionally specify a subject and automatically creates a field in form for the visitor to enter their email address and name.
The information you need and the syntax you need to use:
1. First, the part of the syntax that is required to point the optional variable at the correct Personal Web Pages script:
|
2. Next, add your Email address:
|
3. Then, optionally add the field for a subject by using the ampersand to separate 'fields" and the variable name, "subject" and then an = sign.
|
4. To predefine the subject name so that the subject line when received in your mailbox is specified if the visitor doesn't change it, add the subject, separating each word in the subject line with two ++ signs. Remember to close the HREF with the ">" character.
|
5. Type the text you wish to use at the clickable link. (Again, it's probably a good idea to use your email address here in case the visitor to your page doesn't have a forms capable browser). Remember to close the link with the syntax "</A>".
|
6. Add introductory text if you wish, such as "Send Feedback to:" and you're done!
Send Feedback to:
|
The visitor to your page will see:
And, if they select this link, the form shown just below will be displayed.
|
If you're interested in constructing a more detailed form for structured output, please see our Personal Web Pages Forms Tutorial.