过时
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
HTML
<input type="datetime">
was a control for entering a date and time (hour, minute, second, and fraction of a second) as well as a timezone.
This feature has been
removed from WHATWG HTML
, and is no longer supported in browsers.
Instead, browsers are implementing (and developers are encouraged to use)
<input type="datetime-local">
.
The format of the date and time value used by this input type is described in Format of a valid global date and time string in 用于 HTML 的日期和时间格式 .
<input>
element
<button>
<datalist>
<fieldset>
<form>
<input>
<keygen>
<label>
<legend>
<meter>
<optgroup>
<option>
<output>
<progress>
<select>
<textarea>
<input>
类型
<input type="button">
<input type="checkbox">
<input type="color">
<input type="date">
<input type="datetime">
<input type="datetime-local">
<input type="email">
<input type="file">
<input type="hidden">
<input type="image">
<input type="month">
<input type="number">
<input type="password">
<input type="radio">
<input type="range">
<input type="reset">
<input type="search">
<input type="submit">
<input type="tel">
<input type="text">
<input type="time">
<input type="url">
<input type="week">