langfr
langfr is an informal label used to denote content in the French language in digital and publishing contexts. It commonly appears as the language code fr (from the ISO 639-1 standard) and in variants such as fr-FR, fr-CA or fr-CH to indicate regional varieties. The term may be seen in attributes, class names, filenames or metadata (for example lang="fr" in HTML, xml:lang="fr" in XML, or a CSS class like .lang-fr).
Specifying French with lang="fr" or equivalent serves several purposes: it helps user agents and assistive technologies
Accessibility guidelines such as WCAG recommend declaring the primary language of a page or content region