Get the App
SLTechnology News&Howtos  ›  Development  › 

How many values are there for html5 time controls?

Shulou Source: shulou.com Published: 2022-06-02 01:59:07 10月24日 Update

This article will explain in detail how many values there are for html5 time controls. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

There are six values of html5 time control: 1, "date", define date control; 2, "time", define date control; 3, "datetime-local", define date and time control; 4, "month", define month control; 5, "week", define weekly control; 6, "datetime".

The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.

HTML5 defines several new date-related controls. Browsers that support date controls provide a convenient drop-down calendar for users to choose from.

Note: currently, only Chrome and Opera provide drop-down calendar support, other browsers are still a normal text box.

1. Date control-date

2. Time control-time

3. Date and time control-datetime-local

4. Month Control-month

5. Weekly controls-week

6. Date and time control-- datetime

Description: date-time controls also support min and max properties, which represent the minimum and maximum times that can be set

This is the end of this article on "how many values are there for html5 time controls?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Control time date article support calendar more browser drop-down related browse good practical normal maximum minimum content only properties tutorials Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Shulou Tech Info Xiaomi MariaDB Docker