HTML Forms :
QUICK REFERENCE








If you're not familiar with the form tags you can learn in detail about each tag listed in the left menu. Otherwise - use this quick reference for an easy overview of form tags and properties.

HTMLEXPLANATIONEXAMPLE
textarea
  rows=
  cols=
  name=
 
  wrap=
    off
    virtual
 
    physical
 

Text area - several lines
Rows in the field.
Columns in the field.
Name of the field.
 
Control linebreaks.
    Turns off linebreaks.
    Shows linebreaks, but
    sends text as entered.
    Inserts linebreaks when
    needed and even sends it.


text
  size=
  maxlength=
  name=
  value=

One line text field
Characters shown.
Max characters allowed.
Name of the field.
Initial value in the field.


password
  size=
  maxlength=
  name=
  value=

Password field.
Characters shown.
Characters allowed to enter.
Name of the field.
Initial value in the field.


checkbox
  name=
  value=

Choose one or more options
Name of the field.
Initial value in the field.


radio
  name=
  value=

Choose only one option
Name of the field.
Initial value in the field.


select
  name=
  size=
  multiple=

 
option
  selected
  value=

Drop-down menu
Name of the field.
Number of items in list.
Allow multiple choice if yes.

 
Individual items in the menu.
Make an item default.
Value to send if selected.


hidden
  name=
  value=

Does not show on the form.
Name of the field.
Value to send.

 
reset
  name=
  value=

Button to reset all fields
Name of the button.
Text shown on the button.


submit
  name=
  value=

Button to submit the form
Name of the button.
Text shown on the button.


image
  name=
Image behaving as button
Name of the image.



Note: This is a quick reference showing the most common settings for each field. For a complete listing and explanation you should follow the link to the relevant field in the menu.

 << PREVIOUS
BACK TO MENU >>  
















DEVELOPER TIP!





     "Better Than Books - As Easy As It Gets!"