Skip to content

Instantly share code, notes, and snippets.

@jiglesiasabio
Created December 1, 2011 18:12
Show Gist options
  • Save jiglesiasabio/1418680 to your computer and use it in GitHub Desktop.
Save jiglesiasabio/1418680 to your computer and use it in GitHub Desktop.
Select options for all countries HTML·FORM
ISO 3166-1 3 Letter Code & Common Name
Some codes are repeated but that's not my fault <codes come from: http://www.andrewpatton.com/countrylist.html>
You may be also interested in looking at: http://unstats.un.org/unsd/methods/m49/m49alpha.htm
<option value="AFG"> Afghanistan </option>
<option value="ALB"> Albania </option>
<option value="DZA"> Algeria </option>
<option value="AND"> Andorra </option>
<option value="AGO"> Angola </option>
<option value="ATG"> Antigua and Barbuda </option>
<option value="ARG"> Argentina </option>
<option value="ARM"> Armenia </option>
<option value="AUS"> Australia </option>
<option value="AUT"> Austria </option>
<option value="AZE"> Azerbaijan </option>
<option value="BHS"> Bahamas, The </option>
<option value="BHR"> Bahrain </option>
<option value="BGD"> Bangladesh </option>
<option value="BRB"> Barbados </option>
<option value="BLR"> Belarus </option>
<option value="BEL"> Belgium </option>
<option value="BLZ"> Belize </option>
<option value="BEN"> Benin </option>
<option value="BTN"> Bhutan </option>
<option value="BOL"> Bolivia </option>
<option value="BIH"> Bosnia and Herzegovina </option>
<option value="BWA"> Botswana </option>
<option value="BRA"> Brazil </option>
<option value="BRN"> Brunei </option>
<option value="BGR"> Bulgaria </option>
<option value="BFA"> Burkina Faso </option>
<option value="BDI"> Burundi </option>
<option value="KHM"> Cambodia </option>
<option value="CMR"> Cameroon </option>
<option value="CAN"> Canada </option>
<option value="CPV"> Cape Verde </option>
<option value="CAF"> Central African Republic </option>
<option value="TCD"> Chad </option>
<option value="CHL"> Chile </option>
<option value="CHN"> China, People's Republic of </option>
<option value="COL"> Colombia </option>
<option value="COM"> Comoros </option>
<option value="COD"> Congo, Democratic Republic of the (Congo – Kinshasa) </option>
<option value="COG"> Congo, Republic of the (Congo – Brazzaville) </option>
<option value="CRI"> Costa Rica </option>
<option value="CIV"> Cote d'Ivoire (Ivory Coast) </option>
<option value="HRV"> Croatia </option>
<option value="CUB"> Cuba </option>
<option value="CYP"> Cyprus </option>
<option value="CZE"> Czech Republic </option>
<option value="DNK"> Denmark </option>
<option value="DJI"> Djibouti </option>
<option value="DMA"> Dominica </option>
<option value="DOM"> Dominican Republic </option>
<option value="ECU"> Ecuador </option>
<option value="EGY"> Egypt </option>
<option value="SLV"> El Salvador </option>
<option value="GNQ"> Equatorial Guinea </option>
<option value="ERI"> Eritrea </option>
<option value="EST"> Estonia </option>
<option value="ETH"> Ethiopia </option>
<option value="FJI"> Fiji </option>
<option value="FIN"> Finland </option>
<option value="FRA"> France </option>
<option value="GAB"> Gabon </option>
<option value="GMB"> Gambia, The </option>
<option value="GEO"> Georgia </option>
<option value="DEU"> Germany </option>
<option value="GHA"> Ghana </option>
<option value="GRC"> Greece </option>
<option value="GRD"> Grenada </option>
<option value="GTM"> Guatemala </option>
<option value="GIN"> Guinea </option>
<option value="GNB"> Guinea-Bissau </option>
<option value="GUY"> Guyana </option>
<option value="HTI"> Haiti </option>
<option value="HND"> Honduras </option>
<option value="HUN"> Hungary </option>
<option value="ISL"> Iceland </option>
<option value="IND"> India </option>
<option value="IDN"> Indonesia </option>
<option value="IRN"> Iran </option>
<option value="IRQ"> Iraq </option>
<option value="IRL"> Ireland </option>
<option value="ISR"> Israel </option>
<option value="ITA"> Italy </option>
<option value="JAM"> Jamaica </option>
<option value="JPN"> Japan </option>
<option value="JOR"> Jordan </option>
<option value="KAZ"> Kazakhstan </option>
<option value="KEN"> Kenya </option>
<option value="KIR"> Kiribati </option>
<option value="PRK"> Korea, Democratic People's Republic of (North Korea) </option>
<option value="KOR"> Korea, Republic of (South Korea) </option>
<option value="KWT"> Kuwait </option>
<option value="KGZ"> Kyrgyzstan </option>
<option value="LAO"> Laos </option>
<option value="LVA"> Latvia </option>
<option value="LBN"> Lebanon </option>
<option value="LSO"> Lesotho </option>
<option value="LBR"> Liberia </option>
<option value="LBY"> Libya </option>
<option value="LIE"> Liechtenstein </option>
<option value="LTU"> Lithuania </option>
<option value="LUX"> Luxembourg </option>
<option value="MKD"> Macedonia </option>
<option value="MDG"> Madagascar </option>
<option value="MWI"> Malawi </option>
<option value="MYS"> Malaysia </option>
<option value="MDV"> Maldives </option>
<option value="MLI"> Mali </option>
<option value="MLT"> Malta </option>
<option value="MHL"> Marshall Islands </option>
<option value="MRT"> Mauritania </option>
<option value="MUS"> Mauritius </option>
<option value="MEX"> Mexico </option>
<option value="FSM"> Micronesia </option>
<option value="MDA"> Moldova </option>
<option value="MCO"> Monaco </option>
<option value="MNG"> Mongolia </option>
<option value="MNE"> Montenegro </option>
<option value="MAR"> Morocco </option>
<option value="MOZ"> Mozambique </option>
<option value="MMR"> Myanmar (Burma) </option>
<option value="NAM"> Namibia </option>
<option value="NRU"> Nauru </option>
<option value="NPL"> Nepal </option>
<option value="NLD"> Netherlands </option>
<option value="NZL"> New Zealand </option>
<option value="NIC"> Nicaragua </option>
<option value="NER"> Niger </option>
<option value="NGA"> Nigeria </option>
<option value="NOR"> Norway </option>
<option value="OMN"> Oman </option>
<option value="PAK"> Pakistan </option>
<option value="PLW"> Palau </option>
<option value="PAN"> Panama </option>
<option value="PNG"> Papua New Guinea </option>
<option value="PRY"> Paraguay </option>
<option value="PER"> Peru </option>
<option value="PHL"> Philippines </option>
<option value="POL"> Poland </option>
<option value="PRT"> Portugal </option>
<option value="QAT"> Qatar </option>
<option value="ROU"> Romania </option>
<option value="RUS"> Russia </option>
<option value="RWA"> Rwanda </option>
<option value="KNA"> Saint Kitts and Nevis </option>
<option value="LCA"> Saint Lucia </option>
<option value="VCT"> Saint Vincent and the Grenadines </option>
<option value="WSM"> Samoa </option>
<option value="SMR"> San Marino </option>
<option value="STP"> Sao Tome and Principe </option>
<option value="SAU"> Saudi Arabia </option>
<option value="SEN"> Senegal </option>
<option value="SRB"> Serbia </option>
<option value="SYC"> Seychelles </option>
<option value="SLE"> Sierra Leone </option>
<option value="SGP"> Singapore </option>
<option value="SVK"> Slovakia </option>
<option value="SVN"> Slovenia </option>
<option value="SLB"> Solomon Islands </option>
<option value="SOM"> Somalia </option>
<option value="ZAF"> South Africa </option>
<option value="ESP"> Spain </option>
<option value="LKA"> Sri Lanka </option>
<option value="SDN"> Sudan </option>
<option value="SUR"> Suriname </option>
<option value="SWZ"> Swaziland </option>
<option value="SWE"> Sweden </option>
<option value="CHE"> Switzerland </option>
<option value="SYR"> Syria </option>
<option value="TJK"> Tajikistan </option>
<option value="TZA"> Tanzania </option>
<option value="THA"> Thailand </option>
<option value="TLS"> Timor-Leste (East Timor) </option>
<option value="TGO"> Togo </option>
<option value="TON"> Tonga </option>
<option value="TTO"> Trinidad and Tobago </option>
<option value="TUN"> Tunisia </option>
<option value="TUR"> Turkey </option>
<option value="TKM"> Turkmenistan </option>
<option value="TUV"> Tuvalu </option>
<option value="UGA"> Uganda </option>
<option value="UKR"> Ukraine </option>
<option value="ARE"> United Arab Emirates </option>
<option value="GBR"> United Kingdom </option>
<option value="USA"> United States </option>
<option value="URY"> Uruguay </option>
<option value="UZB"> Uzbekistan </option>
<option value="VUT"> Vanuatu </option>
<option value="VAT"> Vatican City </option>
<option value="VEN"> Venezuela </option>
<option value="VNM"> Vietnam </option>
<option value="YEM"> Yemen </option>
<option value="ZMB"> Zambia </option>
<option value="ZWE"> Zimbabwe </option>
<option value="GEO"> Abkhazia </option>
<option value="TWN"> China, Republic of (Taiwan) </option>
<option value="AZE"> Nagorno-Karabakh </option>
<option value="CYP"> Northern Cyprus </option>
<option value="MDA"> Pridnestrovie (Transnistria) </option>
<option value="SOM"> Somaliland </option>
<option value="GEO"> South Ossetia </option>
<option value="AUS"> Ashmore and Cartier Islands </option>
<option value="CXR"> Christmas Island </option>
<option value="CCK"> Cocos (Keeling) Islands </option>
<option value="AUS"> Coral Sea Islands </option>
<option value="HMD"> Heard Island and McDonald Islands </option>
<option value="NFK"> Norfolk Island </option>
<option value="NCL"> New Caledonia </option>
<option value="PYF"> French Polynesia </option>
<option value="MYT"> Mayotte </option>
<option value="GLP"> Saint Barthelemy </option>
<option value="GLP"> Saint Martin </option>
<option value="SPM"> Saint Pierre and Miquelon </option>
<option value="WLF"> Wallis and Futuna </option>
<option value="ATF"> French Southern and Antarctic Lands </option>
<option value="PYF"> Clipperton Island </option>
<option value="BVT"> Bouvet Island </option>
<option value="COK"> Cook Islands </option>
<option value="NIU"> Niue </option>
<option value="TKL"> Tokelau </option>
<option value="GGY"> Guernsey </option>
<option value="IMN"> Isle of Man </option>
<option value="JEY"> Jersey </option>
<option value="AIA"> Anguilla </option>
<option value="BMU"> Bermuda </option>
<option value="IOT"> British Indian Ocean Territory </option>
<option value=""> British Sovereign Base Areas </option>
<option value="VGB"> British Virgin Islands </option>
<option value="CYM"> Cayman Islands </option>
<option value="FLK"> Falkland Islands (Islas Malvinas) </option>
<option value="GIB"> Gibraltar </option>
<option value="MSR"> Montserrat </option>
<option value="PCN"> Pitcairn Islands </option>
<option value="SHN"> Saint Helena </option>
<option value="SGS"> South Georgia and the South Sandwich Islands </option>
<option value="TCA"> Turks and Caicos Islands </option>
<option value="MNP"> Northern Mariana Islands </option>
<option value="PRI"> Puerto Rico </option>
<option value="ASM"> American Samoa </option>
<option value="UMI"> Baker Island </option>
<option value="GUM"> Guam </option>
<option value="UMI"> Howland Island </option>
<option value="UMI"> Jarvis Island </option>
<option value="UMI"> Johnston Atoll </option>
<option value="UMI"> Kingman Reef </option>
<option value="UMI"> Midway Islands </option>
<option value="UMI"> Navassa Island </option>
<option value="UMI"> Palmyra Atoll </option>
<option value="VIR"> U.S. Virgin Islands </option>
<option value="UMI"> Wake Island </option>
<option value="HKG"> Hong Kong </option>
<option value="MAC"> Macau </option>
<option value="FRO"> Faroe Islands </option>
<option value="GRL"> Greenland </option>
<option value="GUF"> French Guiana </option>
<option value="GLP"> Guadeloupe </option>
<option value="MTQ"> Martinique </option>
<option value="REU"> Reunion </option>
<option value="ALA"> Aland </option>
<option value="ABW"> Aruba </option>
<option value="ANT"> Netherlands Antilles </option>
<option value="SJM"> Svalbard </option>
<option value="ASC"> Ascension </option>
<option value="TAA"> Tristan da Cunha </option>
<option value="ATA"> Antarctica </option>
<option value="SCG"> Kosovo </option>
<option value="PSE"> Palestinian Territories (Gaza Strip and West Bank) </option>
<option value="ESH"> Western Sahara </option>
<option value="ATA"> Australian Antarctic Territory </option>
<option value="ATA"> Ross Dependency </option>
<option value="ATA"> Peter I Island </option>
<option value="ATA"> Queen Maud Land </option>
<option value="ATA"> British Antarctic Territory </option>
@tomefer
Copy link

tomefer commented Dec 1, 2011

Habría que mirar si quieren tener todos los paises en el select o restringir algunos..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment