Codes / sl

hreflang="sl"

sl is a valid hreflang value for Slovenian.

Example

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

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

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

Related codes

sl-SI