placeholder not showing on date code example
Example 1: add placeholder in input type date
<input type="text" placeholder="Date of birth" onfocus="(this.type='date')">
Example 2: add custom placeholder in input type date
<input type="text" placeholder="Birth Date" onfocus="(this.type='date')" onblur="if(this.value==''){this.type='text'}">