Answers for "adding a place holder for datetime in html"

6

add placeholder in input type date

<input type="text" placeholder="Date of birth" onfocus="(this.type='date')">
Posted by: Guest on October-09-2020
0

html date placeholder

<input placeholder="Date" class="textbox-n" type="text" onfocus="(this.type='date')" id="date">
Posted by: Guest on October-02-2020

Browse Popular Code Answers by Language