HTML 101
Forms
Use Native Form Controls
- Future proofing
- Accessibility for free
Example date
Input
Code for Example date
Input
<label for="name">Date</label>
<input id="name" type="date">