HTML5 form input types
HTML5 introduces many new form input types. You can implement many input features easily without using JavaScript. Date and time picker same like JavaScript/jQuery, color picker, email etc.
Find the below list of HTML5 form input types and examples.
Input Type | Example |
date | <input type="date"> |
week | <input type="week"> |
month | <input type="month"> |
time | <input type="time"> |
datetime | <input type="datetime"> |
datetime-local | <input type="datetime-local"> |
search | <input type="search"> |
<input type="email"> | |
url | <input type="url"> |
tel | <input type="tel"> |
number | <input type="number"> |
range | <input type="range"> |
color | <input type="color"> |