Codes / es

hreflang="es"

es is a valid hreflang value for Spanish.

Example

<link rel="alternate" hreflang="es" href="https://example.com/es/" />

The code is case-insensitive for Google. The conventional spelling is a lowercase language, a title-case script and an uppercase region: es.

Without a region, the annotation targets every Spanish speaker regardless of country. Regional versions sit next to the language-only version in one cluster.

Related codes

es-ES es-MX es-AR es-CO es-CL es-PE es-US es-VE es-EC es-UY