23 attributes of input

button defines a clickable button (usually used with JavaScript to start a script).
checkbox defines a checkbox.
color defines the color picker.
date defines a date control (including year, month, day, excluding time).
datetime defines date and time controls (including year, month, day, hour, minute, second, fraction of a second, based on the UTC time zone).
datetime-local defines date and time controls (including year, month, day, hour, minute, second, fraction of a second, without time zone).
email Defines fields for e-mail addresses.
file defines a file selection field and a "Browse..." button for file upload.
hidden defines a hidden input field.
image defines the image as the submit button.
month Defines month and year controls (without time zone).
number defines a field for entering numbers.
password defines the password field (characters in the field are masked).
radio defines radio buttons.
range Defines controls (such as slider controls) for inputting numbers where the exact value is not important.
reset defines a reset button (resets all form values ​​to default).
search defines a text field for entering a search string.
submit defines the submit button.
tel Defines a field for entering a telephone number.
text Default Defines a single-line text field (default width 20 characters).
time defines a control for entering a time (without a time zone).
url defines a field for entering a URL.
week Defines the week and year controls (without time zone).
 

Guess you like

Origin blog.csdn.net/yjnain3066/article/details/128527293
Recommended