time
Summary
An input field for entering a specific time value.
Overview Table
Examples
Basic usage. Accepts no seconds.
<input type="time" value="09:00" min="09:00" max="17:00">
Accepts seconds.
<input type="time" step="1">
Accepts only hours.
<input type="time" step="3600">
Notes
On Safari Mobile for iOS, setting display
: block
on an input of type="time" causes the text within the input to become vertically misaligned.