====== 3.2.1. Use the lang attribute to indicate a change in the language ====== If content is included in a different language to the main language, then the foreign language must be indicated with the ''lang'' attribute. For example, in the case of a page in French: **Tip** If there is no specific tag that encompasses the content in a foreign language, then use the '''' or ''
''tag and specify the ''lang'' attribute within it. **Note** Indicating a language change is not necessary for: * Proper names. * Words of foreign origin, but which are included in dictionaries of the main language. * All words of foreign origin, but which are understood and pronounced correctly when spoken with the accent of the main language (“podcast” for example, if the main language is in French). ===== Related recommendations ===== * Previous recommendation : [[notices:html-css:renseigner-la-langue-principale-de-la-page-avec-l-attribut-lang-sur-la-balise-html]] * Next recommendation : [[notices:html-css:ecrire-un-code-html-valide-selon-les-regles-de-grammaire-du-doctype-utilise]]