Articles → HTML 5 → Week Input Element In Html5

Week Input Element In Html5






Purpose





Syntax


<input type="week"/>



Example


<!DOCTYPE html>
<html lang="en"
	xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		<form>
			<input type="week" />
		</form>
	</body>
</html>

Try It


Output


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


Browser Support


Internet ExplorerFirefoxChromeSafariOperaEdge
12.0Not supported25.0Not supported10.1Yes



Posted By  -  Karan Gupta
 
Posted On  -  Friday, September 22, 2017

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250