HTML5 Date Tag

I learned something interesting about the HTML5 date tag. Look at this calendar dropdown:

HTML5 date tag

Here is the sum total of code needed to make that happen in a Chrome browser:

<input type="date" />

That’s it! No Javascript, no CSS. Programmers these days have it easy.

Leave a Reply

Your email address will not be published. Required fields are marked *