HTML5 date attribute in <input> Tag
The date attribute in the input tag creates a calendar to choose the date, which includes day, month, and year. Syntax: <input type = "date">Example 1: Use date attribute in input tag html <!DOCTYPE html> <html> <head> <title>Date Attribute</title> </head>