Use markup to identify the primary natural language of a document and any changes in its natural language, (including those in text equivalents, captions, etc.)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<P>And with a certain <SPAN lang="fr">je ne sais quoi</SPAN>, she entered both the room, and his life, forever. <Q>My name is Natasha,</Q> she said. <Q lang="it">Piacere,</Q> he replied in impeccable Italian, locking the door.
The W3C identifies three important reasons to identify changes in lanquage:
Identifying changes in language and Identifying the primary language - WAI recommended techniques.
Language information and text direction - W3C REcommendation.
View WAI Checkpoint 4.3 - Identify the primary natural language of a document.
View WAI Checkpoint 4.1 - Clearly identify changes in the natural language of a document's text and any text equivalents (e.g., captions).