HTML Input Types
Text-based Inputs
Input Type Description
text Single-line plain text input
password Input that hides the characters entered
email Validates email address format
search Input optimized for search
tel Telephone number input
url Validates URL format
Number and Date Inputs
Input Type Description
number Numeric input with optional min/max
range Slider to select a number within a range
date Selects a date
month Selects a month and year
week Selects a week number
time Selects a time (hour and minutes)
datetime-local Selects date and time (no timezone)
Boolean/Choice Inputs
Input Type Description
checkbox Allows multiple selections
radio Allows single selection in a group
submit Submits the form
reset Resets form inputs to default values
button General-purpose button
HTML Input Types
File and Hidden Inputs
Input Type Description
file Uploads files
hidden Hidden from user, used for backend values
Special Inputs
Input Type Description
color Color picker input
image Submit button in the form of an image