Answers for "html input type date and time"

1

input type time in html

<form>
  <label for="appt">Select a time:</label>
  
  <input type="time" id="appt" name="appt">

 </form>
Posted by: Guest on July-13-2021
0

html date input

<label for="start">Start date:</label>

<input type="date" id="start" name="trip-start"
       value="2018-07-22"
       min="2018-01-01" max="2018-12-31">
Posted by: Guest on May-08-2021

Browse Popular Code Answers by Language