創(chuàng)建各種表單輸入控件。
Creates a variety of form input controls.
INPUT 元素的 TYPE 標簽屬性用于表示下列表單輸入控件:
button | checkbox | file | hidden | image |
password | radio | reset | submit | text |
此元素是一個內(nèi)嵌元素。
此元素不需要關(guān)閉標簽。
The TYPE attribute for the INPUT element is used to specify one of the following form input controls:
button | checkbox | file | hidden | image |
password | radio | reset | submit | text |
This element is an inline element.
This element does not require a closing tag.
<FORM ACTION="http://intranet/survey" METHOD=POST>
<P>Name<BR><INPUT NAME="CONTROL1" TYPE=TEXT VALUE="Your Name"></P>
<P>Password<BR><INPUT TYPE="PASSWORD" NAME="CONTROL2"></P>
<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="TEXT" NAME="CONTROL4" SIZE="20,5" MAXLENGTH="250">
<P><INPUT NAME="CONTROL5" TYPE=CHECKBOX CHECKED>Send receipt</P>
<P><INPUT TYPE="SUBMIT" VALUE="OK"><INPUT TYPE="RESET" VALUE="Reset"></P>
</FORM>