Skip Navigation

Accessibility Example 1. B.

1.  Create Web pages that are clear and simple, so they are more easily understood.  REQUIRED: Clearly identify places where text or text equivalents change to a different language to facilitate pronunciation or interpretation of foreign text. Speech synthesizers and Braille devices can automatically switch to the new language if appropriate HTML markup is used.

HTML Source Code:

1) Similar to the country codes used in URLs, two-letter codes signify language abbreviations. Note the default language for the page:
   

<HTML lang="en">
<BODY>

 ... rest of an HTML document written in English ...

</BODY>
</HTML>

 2) If you need to include quotes in several languages in your HTML page, write it this way:

<HTML lang="de"> 
<BODY> 

Der bleistift ist braun.  

<P lang="es"> 

Yo no hablo Deutsch. 

</BODY> 
</HTML> 

 3) You may also use the <SPAN> tag to note language changes:

<HTML lang="en">
<BODY>

<P>And with a certain <SPAN lang="fr">je ne sais quoi</SPAN>, she entered both the room, and his life, forever.

</BODY> 
</HTML>