--- title: "Liquid objects: country_option_tags" description: Creates an `` tag for each country and region that's included in a shipping zone on the [Shipping](https://www.shopify.com/admin/settings/shipping) page of the Shopify admin. api_name: liquid source_url: html: https://shopify.dev/docs/api/liquid/objects/country_option_tags md: https://shopify.dev/docs/api/liquid/objects/country_option_tags.md --- # country\_option\_tags Creates an `` tag for each country and region that's included in a shipping zone on the [Shipping](https://www.shopify.com/admin/settings/shipping) page of the Shopify admin. An attribute called `data-provinces` is set for each ``, and contains a JSON-encoded array of the country or region's subregions. If a country doesn't have any subregions, then an empty array is set for its `data-provinces` attribute. *** Tip To return all countries and regions included in the store's shipping zones, use [`all_country_option_tags`](https://shopify.dev/docs/api/liquid/objects/all_country_option_tags). *** ### Directly accessible in * Global You can wrap the `country_option_tags` object in `` tags to build a country option selector. ```liquid {{ country_option_tags }} ``` ## Output ```html --- Afghanistan Canada United States ```