
 |

| 

Forms
|
forms |
<form>
<input>
<select>...</select>
<textarea>...</textarea>
</form>
<form>...</form>
- ACTION="..." - where to send the form data
- either a cgi script, or "mailto:" address
- METHOD="..." - method to send form data
- ENCTYPE="..." - type of encoding when sending form data
- TARGET="..." - which window to load the form data
- choices = _blank, _parent, _self, _top
<input>
- TYPE="..." - type of input
- choices = TEXT, PASSWORD, CHECKBOX, RADIO, IMAGE, HIDDEN, RESET, SUBMIT
- NAME="..." - name for specific INPUT
- VALUE="..." - to set default text value (or button title)
- SIZE="..." - size of text input (character length)
- MAXLENGTH="..." - max number of characters allowed in text input
- CHECKED - will pre-check the input if RADIO or CHECKBOX
- SRC="..." - for if TYPE = IMAGE
- ALIGN="..." - for if TYPE = IMAGE
- choices = TOP, MIDDLE, BOTTOM, LEFT, RIGHT
<select><option></select>
- NAME="..." - name for specific SELECT list
- SIZE="..." - how many items shown
- MULTIPLE - To allow multiple items to be selected at once
<option>
- VALUE="..." - value to be return if OPTION is selected
- SELECTED="..." - to pre-select the OPTION
<textarea>...</textarea>
- NAME="..." - name for specific TEXTAREA
- ROWS="..." - how many characters high
- COLS="..." - how many characters wide
- WRAP="..." - how the text should wrap in textarea
- choices = HARD, SOFT, NONE
|
| 














|
 |
| |