Codes / fr

hreflang="fr"

fr is a valid hreflang value for French.

Example

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

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

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

Related codes

fr-FR fr-CA fr-BE fr-CH fr-LU fr-MA fr-SN