You develop an HTML5 web application. The web application contains a form that allows users to enter only
their month of birth.
The value that the users enter must be numbers between 1 and 12, inclusive.
You need to implement the form element for the month of birth.
Which element should you use?
A.
<input type=”time” options=”month” />
B.
<input type=”tel” min=”1” max=”12″ />
C.
<input type=”range” min=”1″ max=”12″ />
D.
<input type=”month” itemscope=”numeric” />
Explanation:
Example:
</head>
<body>
<input type=”range” name=”rangeInput” min=”0″ max=”100″ onchange=”updateTextInput(this.value);”/>
<input type=”text” id=”textInput” value=””/>
</body>
</html>