Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

HTML Form Values - Select U.S. State or Canadian Province with ISO code (See related posts)

// description of your code here

<select id="state" name="state">
<option value="">Select Oneoption>

/option>
<option value="BC">British Columbiaoption>
/option>
<option value="NB">New Brunswickoption>
/option>
<option value="NT">Northwest Territoriesoption>
/option>
<option value="NU">Nunavutoption>
/option>
<option value="PE">Prince Edward Islandoption>
/option>
<option value="SK">Saskatchewanoption>
/option>
optgroup>
                        

/option>
<option value="AL">Alabamaoption>
/option>
<option value="AZ">Arizonaoption>
/option>
<option value="CO">Coloradooption>
/option>
<option value="DC">District of Columbiaoption>
/option>
<option value="FL">Floridaoption>
/option>
<option value="HI">Hawaiioption>
/option>
<option value="ID">Idahooption>
/option>
<option value="IN">Indianaoption>
/option>
<option value="KY">Kentuckyoption>
/option>
<option value="MA">Massachusettsoption>
/option>
<option value="ME">Maineoption>
/option>
<option value="MN">Minnesotaoption>
/option>
<option value="MS">Mississippioption>
/option>
<option value="NC">North Carolinaoption>
/option>
<option value="NE">Nebraskaoption>
/option>
<option value="NJ">New Jerseyoption>
/option>
<option value="NV">Nevadaoption>
/option>
<option value="OH">Ohiooption>
/option>
<option value="OR">Oregonoption>
/option>
<option value="PR">Puerto Ricooption>
/option>
<option value="SC">South Carolinaoption>
/option>
<option value="TN">Tennesseeoption>
/option>
<option value="UT">Utahoption>
/option>
<option value="VT">Vermontoption>
/option>
<option value="WI">Wisconsinoption>
/option>
<option value="WY">Wyomingoption>
</optgroup>
select>

You need to create an account or log in to post comments to this site.


Related Posts