A mailto form starts with the same HTML that any HTML page begins with, including the <HTML>, <HEAD>, <TITLE> </TITLE> and <BODY> tags, and ends with the closing </BODY> and </HTML> tags.

In between the <BODY> and </BODY> tags, you'll want to include the type of action for your form, which will be:

<FORM ACTION="mailto:screenname@aol.com" METHOD="POST">

Where screenname@aol.com is replaced by your email address :-)

Then, you can start adding the radio buttons, checkboxes, or text input fields for your form. Like most HTML tags, you'll also need a closing HTML tag, the</FORM> tag.

Before you begin adding the text, radio buttons, checkboxes or text input field to your form, the basic HTML will look like this:


<HTML>
<HEAD>
<TITLE>
Your title here
</TITLE>
</HEAD>
<BODY>
<FORM ACTION="mailto:screenname@aol.com" METHOD="POST">

(HTML for the text, radio buttons, etc. will go here)

</FORM>
</BODY>
</HTML>

That's how you'll begin each form. The next tags we will cover include radio buttons, check boxes and text areas. Ready to move on?

Form Design ||| Radio Buttons ||| Checkboxes ||| Selections Text Fields ||| Submit & Reset ||| Decoding Forms ||| Web Diner Menu

All information copyright Web Diner Inc., 1997. Do not redistribute or repost this content.