Codes / hr
hreflang="hr"
hr is a valid hreflang value for Croatian.
- Language: Croatian (
hr, ISO 639-1)
Example
<link rel="alternate" hreflang="hr" href="https://example.com/hr/" />The code is case-insensitive for Google. The conventional spelling is
a lowercase language, a title-case script and an uppercase region:
hr.
Without a region, the annotation targets every Croatian speaker regardless of country. Regional versions sit next to the language-only version in one cluster.