weballey logo
 
left forms - tags backnext right
homesearchsite mape-mail
intro
text
textarea
buttons
image
form
e-mail form
checkbox
radio
select
password
hidden
layout
cgi
< tags >
epilogue
  <FORM>...</FORM>
Start and end an html form.
ACTION="..."
Tells the form where to send the data, can be an e-mail url, cgi program, or javascript.
METHOD="..." (GET or POST)
Get sends the data as an url (default), post sends them seperately.

<INPUT>
Form field that can contain data.
TYPE="..."
Holds the type of field, can be any of the following.
- submit: button, submits the form
- reset: button, resets the form to its default state
- text: text input field
- hidden: invisible input field
- password: same as text, will display as asterisks
- button: plain button, only works with javascript
- checkbox: box used for yes/no questions
- radio: button used to select one of several options, sets must have the same name
- image: can hold an image, acts as a submit button
NAME="..."
Holds the name of the variable the the input field produces.
VALUE="..."
Holds the (default) value of an input field
SIZE="..."
Determines the size of a text or password field
MAXLENGTH="..."
Determines the maximum number of characters that can be input in a text or password field
SRC="..."
Holds the image url of an image type input field
CHECKED
Checks a radio or checkbox field

<SELECT>...</SELECT>
Starts an ends an option (dropdown) list
NAME="..."
Holds the name of the variable the the select field produces.
<OPTION>...</OPTION>
Holds an option of a SELECT list, closing tag optional.
VALUE="..."
Can hold a value of an OPTION, only needed if different from text in option
SELECTED
Selects the default option, if unused first option is selected

<TEXTAREA>...</TEXTAREA>
Creates an input field for multiple lines of text, default text can be put between the tags
NAME="..."
Holds the name of the variable the the select field produces.
COLS="..."
Determines the width of the box
ROWS="..."
Determines the height of the box

<PRE>...</PRE>
Preformatted text, shows the text "as is" in the html source, no extra formatting tags needed. Can be usefull for complex forms.

bottom  
left Copyright © Gerben Hoekstra - All rights reserved backnext right