

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are the new types introduced in HTML for input type?
The input element's type attribute in HTML now has the following new values −
Type | Description |
---|---|
color | Color selector, which could be represented by a wheel or swatch picker |
date | Selector for calendar date |
datetime-local | Date and time display, with no setting or indication for time zones |
datetime | Full date and time display, including a time zone. |
email | Input type should be an email. |
month | Selector for a month within a given year |
number | A field containing a numeric value only |
range | Numeric selector within a range of values, typically visualized as a slider |
search | Term to supply to a search engine. For example, the search bar atop a browser. |
tel | Input type should be telephone number. |
time | Time indicator and selector, with no time zone information |
url | Input type should be URL type. |
week | Selector for a week within a given year |
- Related Questions & Answers
- What are the new changes introduced in C++11?
- Which are the new Null Operators introduced in PowerShell version 7?
- HTML DOM Input Datetime type Property
- HTML DOM Input DatetimeLocal type Property
- HTML DOM Input Email type Property
- HTML DOM Input Text type Property
- HTML DOM Input Time type Property
- HTML DOM Input URL type Property
- HTML DOM Input Week type Property
- HTML DOM Input Button type Property
- HTML DOM Input FileUpload type Property
- HTML DOM Input Hidden type Property
- HTML DOM Input Month type Property
- HTML DOM Input Checkbox type Property
- HTML DOM Input Color type Property
Advertisements