Forums HTML Html Code For All The Months Of The Year you can use this code if you are making a website where you need to put the months of the year in numerical order [2720], Last Updated: Mon Jun 24, 2024
Webune Support
Thu Jul 08, 2010
0 Comments
666 Visits
you can use this code if you are making a website where you need to put the months of the year in numerical order
it will look like this:
Month
01
02
03
04
05
06
07
08
09
10
11
12
here is the html code:
<select name="Month" id="Month">
<option value="--">Month</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
there are other variations also, where you can have the full month name capitalized
example:
Month
January
February
March
April
May
June
July
August
September
October
November
December
CODE:
<select name="Month" id="Month">
<option value="--">Month</option>
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July">July</option>
<option value="August">August</option>
<option value="September">September</option>
<option value="October">October</option>
<option value="November">November</option>
<option value="December">December</option>
</select>
yet another way:
Example:
Month
January
February
March
April
May
June
July
August
September
October
November
December
CODE:
<select name="Month" id="Month">
<option value="--">Month</option>
<option value="01">January</option>
<option value="02">February</option>
<option value="03">March</option>
<option value="04">April</option>
<option value="05">May</option>
<option value="06">June</option>
<option value="07">July</option>
<option value="08">August</option>
<option value="09">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>