Codes / sr

hreflang="sr"

sr is a valid hreflang value for Serbian.

Example

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

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

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

Related codes

sr-RS