Edit This Code:
<!DOCTYPE html>
<html>
<body>

<p>
Depending on browser support:<br>
A time picker might pop-up when you enter the input field.
</p>

<form action="action_page.php">
  Select a time:
  <input type="time" name="usr_time">
  <input type="submit">
</form>

<p><strong>Note:</strong> type="time" is not supported in Firefox, or Internet Explorer 10 and earlier versions.</p>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy