Country Lists In HTML And SQL

Most of the membership forms include a country list.

Urbano Alvarez is presenting ready to use country list data in several languages.

The lists are in the HTML format as:

<select id="countrySelect" >
<option value="AF">Afghanistan</option>
<option value="AL">Albania</option>
<option value="DZ">Algeria</option>
<option value="AS">American Samoa</option>
</select>

For country lists in SQL format, you can also use the files at:

  • http://paularmstrongdesigns.com Paul Armstrong

    Wow I wish I’d have had that 4 months ago. I ended up scraping this data off of another site and hacking at it for output.

  • http://www.webresourcesdepot.com Umut M.

    @Paul,

    Hacking a HTML data for such a list can ve a very annoying process I can guess.

    You have a resource for the next time :).

  • http://www.thanerd.net/ ThaNerd

    Well, a simple search for “countries list” in Google would give such lists… And with some little work, you can have these automagically translated. I wouldn’t trust an automatic translation tool for long texts, but for simple words like language names and country names, it works like a charm… My website is automatically translated in several languages on server side thanks to an API…

  • http://urbanoalvarez.es Alejandro U. Alvarez

    Thanks for mentioning, it always helps 😉

  • http://www.webresourcesdepot.com Umut M.

    @Alejandro,
    No prob. Great resource.

Search