Codes / ar

hreflang="ar"

ar is a valid hreflang value for Arabic.

Example

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

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

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

Related codes

ar-SA ar-AE ar-EG ar-MA ar-QA ar-KW ar-JO