# All country option tags

The all_country_option_tags object outputs an <option> tag for every country.

The `all_country_option_tags` object outputs an `<option>` tag for every country.

Each `<option>` tag has a `data-provinces` attribute that contains the subregions of the country. Each subregion contains:

- **Name**: the name of the subregion.
- **Label**: the customer-facing label of the subregion, translated into the currently selected language.

If a country has no subregions, the field is empty.

Wrap `all_country_option_tags` in `<select>` tags:

```liquid
<select name="country">
  {{ all_country_option_tags }}
</select>
```

```html
<select name="country">
  <option value="---" data-provinces="[]">---</option>
  <option value="Afghanistan" data-provinces="[]">Afghanistan</option>
  <option value="Aland Islands" data-provinces="[]">Åland Islands</option>
  ...
  <option value="Germany" data-provinces="[['Bavaria','Bavaria'],['Berlin','Berlin'],['Lower Saxony','Lower Saxony'],['North Rhine-Westphalia','North Rhine-Westphalia'],['Saxony','Saxony']]">Germany</option>
  ...
</select>
```
