<input type="country" />

Terence Eden with a good rundown of the problems around standardising a country input type:

Let’s start with the big one. What is a country? This is about as contentious as it gets! It involves national identities, international politics, and hereditary relationships.


Some countries don’t recognise each other. Some believe that the other country is really part of their country. Some countries don’t exist.


Borders shift. Countries disappear, merge, split, change names, change flags, and do all manner of weird things which trip up your edge cases.

Thanks for reading! If you liked this post, you may like others archived in: HTML. You can keep up to date with new posts by subscribing to the RSS Feed or by following me on Micro.blog.