<INPUT
ALIGN=TOP|MIDDLE|BOTTOM|LEFT|RIGHT
CHECKED
CLASS=type
ID=value
MAXLENGTH=length
NAME=name
NOTAB
onBlur=event
onChange=event
onClick=event
onFocus=event
onSelect=event
SIZE=size
SRC=url
STYLE=css1 properties
TABINDEX=n
TITLE=text
TYPE=TEXT|TEXTAREA|PASSWORD|CHECKBOX|
RADIO|SUBMIT|RESET|FILE|HIDDEN|
IMAGE|BUTTON
VALUE=value>
Specifies a form control.
TOP | Surrounding text is aligned to the top of the form element. |
MIDDLE | Surrounding text is aligned to the middle of the form element. |
BOTTOM | Surrounding text is aligned to the bottom of the form element. |
LEFT | Surrounding text is aligned to the left of the form element. |
RIGHT | Surrounding text is aligned to the right of the form element. |
TEXT | Used for a single-line text-entry field. Use in conjunction with the SIZE= and MAXLENGTH= attributes. |
TEXTAREA | Used for a multiline text-entry field. |
PASSWORD | The same as the = HREF="slide.htm"#htmlref2_0001000114000d0a>TEXT= attribute, except that text is not displayed as the user enters it. |
CHECKBOX | The element appears as a check box. |
RADIO | Used for attributes that accept a single value from a set of alternatives. Each radio button field in the group should be given the same name. Only the selected radio button in the group generates a name/value pair in the submitted data. Radio buttons require an explicit VALUE= attribute. |
SUBMIT | A button that, when clicked, submits the form. You can use the VALUE= attribute to provide a non-editable label to be displayed on the button. The default label is application-specific. If a SUBMIT button is clicked to submit the form, and that button has a NAME= attribute specified, that button contributes a name/value pair to the submitted data. Otherwise, a SUBMIT button makes no contribution to the submitted data. |
RESET | A button that, when clicked, resets the form's fields to their specified initial values. The label to be displayed on the button can be specified just as for the SUBMIT button. |
FILE | Used to insert a file. |
HIDDEN | No field is presented to the user, but the content of the field is sent with the submitted form. This value can be used to transmit state information about client/server interaction. |
IMAGE | An image field that you can click, causing the form to be immediately submitted. The coordinates of the selected point are measured in pixel units from the upper-left corner of the image, and are returned (along with the other contents of the form) in two name/value pairs. The x-coordinate is submitted under the name of the field with ".x" appended, and the y-coordinate is submitted under the name of the field with ".y" appended. Any VALUE= attribute is ignored. The image itself is specified by the SRC= attribute, exactly as for the image element. |
BUTTON | The element appears as a button. |
Example
<FORM ACTION="http://intranet/survey" METHOD=POST> <P>Name <BR><INPUT NAME="CONTROL1" TYPE=TEXT VALUE="Your Name"> <P>Password <BR><INPUT TYPE="PASSWORD" NAME="CONTROL2"> <P>Color <BR><INPUT TYPE="RADIO" NAME="CONTROL3" VALUE="0" CHECKED>Red <INPUT TYPE="RADIO" NAME="CONTROL3" VALUE="1">Green <INPUT TYPE="RADIO" NAME="CONTROL3" VALUE="2">Blue <P>Comments <BR><INPUT TYPE="TEXTAREA" NAME="CONTROL4" SIZE="20,5" MAXLENGTH="250"> <P><INPUT NAME="CONTROL5" TYPE=CHECKBOX CHECKED>Send receipt <P><INPUT TYPE="SUBMIT" VALUE="OK"><INPUT TYPE="RESET" VALUE="Reset"> </FORM>
file: /Techref/language/html/r020/slide42.htm, 14KB, , updated: 2005/8/16 05:43, local time: 2024/11/26 16:22,
3.138.101.219:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/Techref/language/html/r020/slide42.htm"> HTML Reference</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.