Advertisement
Home Open Editor ❯

HTML <input> type Attribute

Example

<input type="datetime-local">

Try this code ❯

Meaning

Provides controls for entering a date and time, with no time zone.

Opens a date picker or numeric wheels for date- and time-components when active in supporting browsers.


Standard Syntax

HTML: <input type="datetime-local">

XHTML: <input type="datetime-local" />


Advertisement

Home Open Editor ❯
Advertisement