Name
time
Type
input
Synopsis
How to render a time input field
Description
input elements of type="time" create input fields that let the user enter a time. Hours, minutes and optionally seconds.
Parameters
type="time"
Example
<form action="get">
<label for="apptime">Pick a time between 9 AM and 5 PM.</label>
<br>
<input type="time" id="apptime" name="appointment" min="09:00" max="17:00" value="10:00" />
<br>
<input type="submit" />
</form>
Note
Links
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time