Basic form tag that starts a form. Each time a new <<>form<>> is written, a new form is started and a different action is done. Every form tag between a <<>form<>> <<>/form<>> belongs to that form.
Attributes
action
Determines the location the information will be sent to.
Determines the way the information is sent, either through the URL or directly through HTTP.
Possible values€
post
get
<<>input<>>
This displays a form element.
<<>textarea<>><<>/textarea<>>
Creates a multiline, scrollable text box for large text submissions. Everything inbetween <<>textarea<>> and <<>/textarea<>> is it's "value". The value attribute may also be used, but the former method seems most practical and useful.
Example:
<<>select<>>
Creates a selection box.
<<>option<>><<>/option<>>
Creates a new value in a select box. Everything in between the <<>option<>> and <<>/option<>> is what appears in the selection box.
Attributes
type
This determines what kind of form element will be displayed. Default is a text box. The possible values are listed below:
value
Determines the value of the element. Each element's "value" has a different meaning explained below.
Text Box - Gives box a default value.
Check Box, Radio Button - Gives the element a value. If clicked, it equals that, if not clicked, it doesn't.
Button, Submit, Reset - Gives the button a face value, meaning whatever the value is, that is displayed on the button.
name
Used for form submission. It places a name with every element value. Name is used differently with each element, consult a tutorial for more information
The following attributes apply to most or all elements of a form. These are advanced and will not all work on a PC.