Bellevue College

Web Publishing Guide

Standards: Rules of the Road

Web Standards are the rules of the road for college website managers and application developers.

speedlimit 35mph

Requirement 3

Use Markup to Identify Changes in Natural Language

If the page contains more than one language such as both English and Spanish, or the page is written in a format for a Braille reader, use appropriate markup (the LANG attribute) to alert the reader of this change.

(Reference: W3C: 4.1)

Rationale:

Example:

A. How to add the LANG attribute:

<BODY>  	  <P> ...Interpreted as English(or default language)...</P>    <P LANG="es">...Interpreted as Spanish...</P>    <P>...Interpreted as English again...</p>    <P>...English text interrupted by<EM LANG="fr">some
French</EM>English begins here again...
</BODY>

Examples of language codes used with lang attribute: