time attribute

<input type=time>

Explanation

Time Attribute allows the user to select the time in 24 hours format.

Example Code:

Result :

Enter the time:
  • User can select time and minutes from the list.
  • If this attribute is not applicable in web browser, then the text box will appear.

Limitations:

It will function only in Safari and Opera browsers.

Ask Questions

Ask Question