Codes / id

hreflang="id"

id is a valid hreflang value for Indonesian.

Example

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

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

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

Related codes

id-ID