HTML Quick Reference, Page 7 of 9

Forms

(generally require a program or script on your server)
Define Form <FORM ACTION="URL" METHOD=GET|POST> </FORM> usually, the URL points to a program or script
Input Field <INPUT TYPE=TEXT|PASSWORD| CHECKBOX|RADIO|SUBMIT| RESET|IMAGE|HIDDEN>
Field Name <INPUT NAME="***">
Checked? <INPUT CHECKED> checkboxes and radio buttons
Field Size <INPUT SIZE=?> in characters
Maximum Length <INPUT MAXLENGTH=?>
Menu <SELECT> <OPTION> </SELECT>
Name of Menu <SELECT NAME="***"> </SELECT>
Number of Menu Items <SELECT SIZE=?> </SELECT>
Multiple Choice Menu <SELECT MULTIPLE> </SELECT> enable selection of more than one
Menu Item <OPTION> an item that can be selected
Default Menu Item <OPTION SELECTED>
Text Box <TEXTAREA ROWS=? COLS=?> </TEXTAREA> ROWS and COLS set the size; user can scroll beyond
Name of Text Box <TEXTAREA NAME="***"> </TEXTAREA>

previous page table of contents Dan Keller Technical Services Home Page next page
http://keller.com/html-quickref/7.html
Last Updated: Sunday, 11-Jun-2006 14:17:48 CDT

Copyright © 1996
Dan Keller Technical Services