This input type allows the user to select a time (no time zone).
Depending on browser support, a time picker can show up in the input field.
HTML file: | Displayed by browser: |
---|---|
<form action="http://www.w3schools.com/html/action_page.php">
Select a time: <input type="time" name="usr_time"> <input type="submit"> </form> |
Incompatible with Firefox and Internet Explorer but works with Chrome, Safari and Opera (as of September 2015).