<FORM ACTION="http://www.geocities.com/cgi-bin/homestead/mail.pl?username" METHOD="POST">
Obviously, replace username with your Geocities username. This will send the completed form to you as an e-mail.
The next line should be a hidden control which defines the HTML file to be displayed once the user has filled in your form. In my case, I send them here.
<INPUT TYPE="hidden" NAME="next-url" VALUE="/SiliconValley/4974/f_sent.htm">
<INPUT name="name" SIZE=20>
The name property is most commonly used when the form is to be automatically processed, for example, by search engines, but, in this case, the name is used in the e-mail message as a section title. It should not contain any spaces. The size property defines the max number of characters shown in the box at one time.
An example use of text boxes...
The HTML source code. <ol> <li>Your name: <INPUT name ="name" SIZE=20> <li>Your e-mail adress: <INPUT name ="e-mail_address" SIZE=20> <li>The address of your web page (if applicable): <INPUT name ="web_page_address" SIZE=40> </ol> The output.
<INPUT type ="password" name="password" SIZE=8>
<INPUT type ="checkbox" name="ItemOne" checked>
None<INPUT NAME="Mags" VALUE="NONE" TYPE="RADIO" CHECKED> One<INPUT NAME="Mags" VALUE="ONE" TYPE="RADIO"> Two+<INPUT NAME="Mags" VALUE="TWO" TYPE="RADIO">
How many magazines do you buy per week?
None One Two+
The HTML source code.
<TEXTAREA NAME="comments" ROWS=8 COLS=70></TEXTAREA>
The output.
The HTML source code. <SELECT name ="opinion"> <OPTION>Item 1 <OPTION selected>Item 2 - default option <OPTION>Item 3 </SELECT> The output. Item 1 Item 2 - default option Item 3
<INPUT TYPE ="SUBMIT" VALUE ="Click to Send">
<INPUT TYPE ="RESET" VALUE ="Erase all traces">
The value text determines the text on the each button.