0% found this document useful (0 votes)
6 views2 pages

HTML Input Types Clean

The document outlines various HTML input types categorized into text-based inputs, number and date inputs, boolean/choice inputs, file and hidden inputs, and special inputs. Each input type is described with its specific function, such as 'text' for single-line input and 'file' for uploading files. This serves as a reference for developers to understand the different input options available in HTML forms.

Uploaded by

gautam.jetti9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

HTML Input Types Clean

The document outlines various HTML input types categorized into text-based inputs, number and date inputs, boolean/choice inputs, file and hidden inputs, and special inputs. Each input type is described with its specific function, such as 'text' for single-line input and 'file' for uploading files. This serves as a reference for developers to understand the different input options available in HTML forms.

Uploaded by

gautam.jetti9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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

You might also like