Articles → HTML 5 → Date Input Element In Html5

Date Input Element In Html5






Purpose





Syntax


<input type="date" />



Example


<!DOCTYPE html>
<html lang="en">

<head>
	<title>Bootstrap Example</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1"> </head>

<body>
	<input type="date" /> </body>

</html>

Try It


Output


Picture showing the output of the Date input element in HTML5
Click to Enlarge


Browser Support


Internet ExplorerFirefoxChromeSafariOperaEdge
12.057.020.0Not supported10.1Yes



Video





Posted By  -  Karan Gupta
 
Posted On  -  Friday, November 17, 2017

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250