Мозилла дата вход
<form>
<label>Enter your birthday:
<input type="date" name="bday" required pattern="\d{2}-\d{2}-\d{4}">
<span class="validity"></span>
</label>
<p>
<button>Submit</button>
</p>
</form>
Black Bird