<form name="myForm" action="https://www.PuStudy.Com/resources/html-forms-action.html"> <input type="time" name="myTimeField"> <button>Submit</button> </form>
The above example demonstrates usage of the
<input> element with the
type attribute set to
time value represents a control for setting the element's value to a string representing a specific time. This is a time (hour, minute, seconds, fractional seconds) with no time zone.