Attributes · <input type="time">
Which HTML Input Type Time attributes matter?
These attributes decide how the <input type="time"> behaves and what actually gets emailed to your inbox when someone submits.
| Attribute | What it does | Docs |
|---|---|---|
name | The key the value is sent under, such as callback_time. Without a name, the time is never sent. | |
min | The earliest time allowed, in 24-hour HH:MM format (such as 09:00). | MDN |
max | The latest time allowed, in 24-hour HH:MM format (such as 17:00). | MDN |
step | The step interval in seconds. The default is 60 (one minute). Use 900 for 15 minutes, or 1 for seconds. | MDN |
value | The default time in 24-hour HH:MM or HH:MM:SS format (such as 14:30). | MDN |
required | Requires a time to be chosen before the form can be submitted. | MDN |




