Codes / es-MX
hreflang="es-MX"
es-MX is a valid hreflang value for Spanish, Mexico.
- Language: Spanish (
es, ISO 639-1) - Region: Mexico (
MX, ISO 3166-1 alpha-2)
Example
<link rel="alternate" hreflang="es-MX" href="https://example.com/es-mx/" />The code is case-insensitive for Google. The conventional spelling is
a lowercase language, a title-case script and an uppercase region:
es-MX.