input type=date element

with label

with label + required

with label + readonly

with label + disabled

Code

<label>date of birth <input type="date"></label>

Reference

HTML5 input type=date element