Which element should you use?

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 types="submit" value="month" />
C. <input type="range" min="1" max="12" />
D. <input type="month" itemscope="numeric" />

microsoft-exams

One thought on “Which element should you use?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.