HTML5 defines several new date-related controls. Browsers that support date controls will provide a convenient drop-down calendar for users to select.
Note: Currently, only Chrome and Opera provide drop-down calendar support, other browsers are still a normal text box.
1. Date control - date<input type=date value=2015-09-24/>2. Time control - time
<input type=time value=13:59/><input type=time value=13:59:59/>
3. Date and time control-datetime-local
<input type=datetime-local value=2015-09-24T13:59:59/>4. Month control - month
<input type=month value=2015-09/>5. Week control - week
<input type=week value=2015-W02/>6. The date and time control also supports min and max attributes, indicating the minimum and maximum time that can be set.
<input type=date value=2015-09-24 min=2015-09-16 max=2015-09-26/>Summarize
The above is the date and time selection input of the new HTML5 control introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for your support of the VeVb martial arts website!