How to set default value to the input[type= »date »] [duplicate]
This question already has answers here:
How to set input type date’s default value to today? (41 answers)
Closed 3 years ago.
I have tried (JSFiddle):
<input type=« date » value=« 2012-3-23 »>
Run code snippet
but it doesn’t work, how can I set the default value?