Example for Checkpoint
4.3 - Identify the primary natural language of a document.

Example
Slide 42 of 120
Previous slide. Next slide.

Priority 3

The language of the entire document should be specified in the HTML tag. In this example, the primary language of the content is Italian.

<HTML lang="it">

<HEAD></HEAD>

<BODY>

<P>Volete sapere l'origine della parola cappuccino,

il popolare caffelatte all'italiana?</P>

</BODY>

</HTML>

In XML, use "xml:lang".

For a complete list of language codes, check out:
Code for the Representation of the Names of Languages. From ISO 639, revised 1989. Source: OASIS - the Organization for the Advancement of Structured Information Standards.

For information about content negotiation, see the example for Checkpoint 11.3.

Up one level To Checkpoints for Guideline 4.
Next slide: Example for Checkpoint 5.1

Introduction: Overview Guidelines: Overview Checkpoints: Overview Examples: Overview

Previous page. Next page.

Chuck Letourneau & Geoff Freed

W3C Web Accessibility Initiative

Copyright © 2000 W3C