Main Menu
🛠️
Tools
❓
Questions
📝
Quiz
✍️
Test
🎯
GK
Useful Links
SEARCH
Account
More
What are the new input types provided by HTML 5 for forms?
Asked: Apr 15, 2023
Following are the important, new input types for forms provided by HTML 5:
color –
Used for fields that should contain colour.
date –
Allows the user to select a date.
datetime -
Allows the user to select a date and time (with time zone).
datetime-local -
Allows the user to select a date and time (without time zone).
email -
Used for input fields that should contain an e-mail address.
month -
Allows the user to select a month and year.
number -
Used for input fields that should contain a numeric value. Restrictions on type of numbers accepted can be set.
range -
Used for input fields that should contain a value from a range of numbers. Restrictions on type of numbers accepted can be set here as well.
search -
Used for search fields.
tel -
Defines a field for entering a telephone number.
time -
Allows the user to select a time.
url -
Used for input fields that should contain a URL address.
week -
Allows the user to select a week and year.
Asked by
brijesh
Answers (0)
No answers yet. Be the first to answer!