let user insert date html code example Example: how to set a date for type date inpt <input type="date" id="start" name="trip-start" value="2018-07-22">