<!-- describes what the input is for - should be plain text only -->
<label for="date">Start date</label>
<!-- describes additional information, usually about formatting -->
<span id="date-format">(DD-MM-YYYY):</span>
<input type="date" id="date" aria-describedby="date-format" name="date" min="2021-03-01" max="2031-01-01" />
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.