1
Answer

how can we set current date as default by using html 5

ravindra

ravindra

11y
1.2k
1
Hi ,By using Html5 ,i want to create registration form ,in that one filed there as date-of-birth(dob) ,So i used date tag as

<input type="date" min="12-05-1990" max="?????">

in place quesation marks i need to give today date as default .Is it possible to todays date in for max element
Answers (1)