Creating Forms


You can create a custom form that allows the user to send feedback to you. There are several different types of input boxes that you can use. The METHOD=POST ACTION="mailto:tomhall@delphi.com line in this HTML document along with the INPUT TYPE="submit" VALUE="Send" gives the user a 3 line input box with a Send button that submits the information as E-mail to an Internet address. This type of box can be used as a comments box.


<FORM METHOD=POST ACTION="mailto:tomhall@delphi.com">

<h4>Type your comments below. When you are through, press the Send button.</h4>

<TEXTAREA NAME="comment" Rows=3 cols=60></TEXTAREA><p>

<INPUT TYPE="submit" VALUE = "Send">
<INPUT TYPE="reset" Value = "Erase">

</form>

Display this form


Other types of Input boxes include a single line text box of a specified width and a checkbox.

<html>
<head>
<title>Test Form</title>
</head>
<body>
<h3>HTML FORM</h3>

<FORM METHOD=POST ACTION="mailto:tomhall@delphi.com">

<h4>Name:
<INPUT TYPE="text" NAME="YourName" SIZE="30"></h4>

<h4>Email:
<INPUT TYPE="text" NAME="Email" SIZE="40"></h4>

<h4>What version of ToolBook are you using(check one)?
<OL>
<LI> <INPUT TYPE="checkbox" NAME="mmtb30" VALUE="primed">
Multimedia ToolBook 3.0
<LI> <INPUT TYPE="checkbox" NAME="cbt" VALUE="primed">
Multimedia ToolBook 3.0--CBT Edition</h4>
</ol>

<br>

<INPUT TYPE="submit" VALUE = "Send">
<INPUT TYPE="reset" Value = "Erase">
</body>
</html>

Display this form


Return to HTML Tutorial Menu