Тег INPUT
INPUT
<INPUT
ACCESSKEY=string
ALIGN=ABSBOTTOM
| ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE | RIGHT | TEXTTOP | TOP
CHECKED=TRUE | FALSE
DISABLED
CLASS=string
ID=string
LANG=string
LANGUAGE=JAVASCRIPT
| JSCRIPT | VBS | VBSCRIPT
MAXLENGTH=long
NAME=string
READONLY
SIZE=variant
STYLE=string
TABINDEX=integer
TITLE=string
TYPE=CHECKBOX
| FILE | HIDDEN | IMAGE | PASSWORD | RADIO | RESET | SELECT-MULTIPLE | SELECT-ONE | SUBMIT | TEXT | TEXTAREA
VALUE=string
event = script
>
Specifies a form input control.
- ACCESSKEY=
- Specifies an accelerator for the element.
- ALIGN=
- Specifies the alignment for the control-like element.
- CHECKED=
- For check boxes and radio buttons, indicates that they are selected.
- DISABLED
- Used to disable an element.
- CLASS=
- Specifies the class of the tag being defined. This is most often used to
associated a sub-classed style sheet with the tag.
- ID=
- An SGML identifier used as the target for hypertext links or for naming
particular elements in associatedd style sheets. Valid names to script with are
any alphanumeric string that begins with a letter. Valid special characters
include underbar "_".
- LANG=
- This specifies the language to use. The specifier is an ISO standard
language abbreviation.
- LANGUAGE=
- Specifies the language that the current script is written in. JavaScript is
the default for this attribute.
- MAXLENGTH=
- Indicates the maximum number of characters that can be entered into a text
control.
- NAME=
- Specifies the name of the control, bookmark, or applet.
- READONLY
- Causes the element's contents to be read only.
- SIZE=
- Specifies the size of the control.
- STYLE=
- Specifies an in-line style sheet for the tag.
- TABINDEX=
- Sets the tabindex for the object.
- TITLE=
- The Title attribute is used to provide advisory information.
- TYPE=
- Specifies the type of intrinsic control.
- VALUE=
- For textual/numerical controls, specifies the default value of the control.
For Boolean controls, specifies the value to be returned when the control is
turned on
- event
- Can be one or more of these events:
onafterupdate onbeforeupdate
onblur onchange
onclick ondblclick
ondragstart onfocus
onhelp onkeydown
onkeypress onkeyup
onmousedown onmousemove
onmouseout onmouseover
onmouseup onselect
onselectstart
The start tag is required, and the end tag is optional.