
- Javascript Basics Tutorial
- Javascript - Home
- Javascript - Overview
- Javascript - Syntax
- Javascript - Enabling
- Javascript - Placement
- Javascript - Variables
- Javascript - Operators
- Javascript - If...Else
- Javascript - Switch Case
- Javascript - While Loop
- Javascript - For Loop
- Javascript - For...in
- Javascript - Loop Control
- Javascript - Functions
- Javascript - Events
- Javascript - Cookies
- Javascript - Page Redirect
- Javascript - Dialog Boxes
- Javascript - Void Keyword
- Javascript - Page Printing
- JavaScript Objects
- Javascript - Objects
- Javascript - Number
- Javascript - Boolean
- Javascript - Strings
- Javascript - Arrays
- Javascript - Date
- Javascript - Math
- Javascript - RegExp
- Javascript - HTML DOM
- JavaScript Advanced
- Javascript - Error Handling
- Javascript - Validations
- Javascript - Animation
- Javascript - Multimedia
- Javascript - Debugging
- Javascript - Image Map
- Javascript - Browsers
- JavaScript Useful Resources
- Javascript - Questions And Answers
- Javascript - Quick Guide
- Javascript - Functions
- Javascript - Resources
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 Articles
- What are the new changes introduced in C++11?
- Which are the new Null Operators introduced in PowerShell version 7?
- 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 Password type property
- HTML DOM Input Radio type property
- HTML DOM Input Range type property
- HTML DOM Input Checkbox type Property
- HTML DOM Input Color type Property
- HTML DOM Input Date type Property
- HTML DOM Input Datetime type Property
- HTML DOM Input DatetimeLocal type Property
- HTML DOM Input Email type Property

Advertisements