<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML</title>
</head>
<body>
<h2> Date picker with "YYYY-MM" format</h2>
<label for="DOB">select date of birth:</label>
<input type="month" id="DOB" name="DOB" min="1979-01" max="2002-12" value="2005-12">
</body>
</html>