Define a control for entering a time (no time zone).
The <input type="time">
defines a control for entering a time (no time zone).
Tip: Always add the <label>
tag for best accessibility practices!
The numbers in the table specify the first browser version that fully supports the element.
<input type="time">
Example:
HTML
<label for="appt">Select a time:</label>
<input type="time" id="appt" name="appt">
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |