Now let’s say you want your site in the English language, but your site targets the UK

Simple “en-gb”, You replace the “en-us” with “en-gb” The gb Stands for Great Britain.

If you ar not comfortable with trying to fit these in the code, and you have a wordpress site? try using Header and Footer to put code

On your site for you.

Hreflang Tags And SEO

Where the Hreflang Attribute Goes

The hreflang attribute can be placed in the on-page markup, the HTTP header, or the sitemap. Only use one of those locations. If you choose the sitemap, this hreflang generator tool can help you.

What the Hreflang Attribute Looks Like

The hreflang attribute on each page should include a reference to itself as well as to all the pages that serve as alternates for it. If your Spanish website sells Iberian ham to customers in Spain, France, and Portugal only, the hreflang attributes for your homepage might look like this: