本文档基于 CC协议(Creative Commons Share-Alike License)发布,是developer.mozilla.com, www.mozref.comwww.aptana.com共同劳动的成果。

type

Specifies the type of input control.

Browser/User Agent Support

IENetscapeMozillaOperaSafari
4.0+1.0+7.0+1.0+

Values

buttonGeneric button.
checkboxCheckbox control. Allows user to select multiple choices.
fileAllows user to browse to and upload a file.
hiddenForm control that is not visible to the user. Used to store state information.
imageImage form control. May be used like a button.
passwordPassword input field. Hides keystrokes with *'s.
radioRadio control button. Allows user to select a single option.
resetReset button.
submitSubmit button.
textSingle line text field.

Availability

W3C HTML 4.01

Related