W3C home > Mailing lists > Public > www-html@w3.org > July 2000

RE: French document

From: Bertilo Wennergren <bertilow@hem.passagen.se>
Date: Thu, 27 Jul 2000 17:13:57 +0200
To: <Pierre.Crescenzo@unice.fr>, <www-html@w3.org>
Message-ID: <NEBBLKKAILEODMBLCACDKEJLCBAA.bertilow@hem.passagen.se>
Pierre Crescenzo:

> If my XHTML document contains French text, should I use "-//W3C//DTD
> XHTML 1.0 Strict//FR" in <!DOCTYPE...> and/or xml:lang="fr" lang="fr"
> in <html...>? Thank you in advance dor your help.
 
Use the ordinary '<!DOCTYPE...' with 'EN', and use 'xml:lang="fr" lang="fr"'
in '<html>' or other tags as needed. The "EN" of the doctype declaration
has nothing to do with the language of the document.

Indicating the language of the document (with 'xml:lang="fr" lang="fr"')
is good practice, but is not required.

#####################################################################
                          Bertilo Wennergren
                  <http://purl.oclc.org/net/bertilo>
                      <bertilow@hem.passagen.se>
#####################################################################
Received on Thursday, 27 July 2000 11:15:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT