Calendar Element
In HTML5, a new date value is added to the type attribute which displays a calendar control on your web page from which users can select a desired date as demonstrated in the following example. As you can see this time we used a separate <label> tag to display a label for the calendar element. The for attribute of <label> element must be equal to the id attribute of the related element to bind them together.
Learn the HTML5 language in this tutorial series. These tutorials are designed for new programmers to provide them thorough knowledge of full stack web development.