- 1

How to set min value to today in html

<input type="date" min="?"> what will come in place of ? for minimum value of today?

8th May 2017, 5:28 PM
Abhinav Singh
Abhinav Singh - avatar
2 Respostas
+ 21
Nothing... Handle it with JavaScript...
8th May 2017, 6:23 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
A date, formatted as yyyy-mm-dd: https://www.w3schools.com/tags/att_input_min.asp
9th May 2017, 5:22 AM
visph
visph - avatar