HTML and CSS Reference
Figure 6-11 An input element with the type week, as displayed in Opera.
Figure 6-12 An input element with the type month, as displayed in Opera.
Here are two simple <input> elements with the types week and month .
<input type="week" name="week" id="week">
<input type="month" name="month" id="month">
Local Date and Time