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

Re: French document

From: Russell Steven Shawn O'Connor <roconnor@uwaterloo.ca>
Date: Thu, 27 Jul 2000 10:49:58 -0400 (EDT)
To: "Pierre Crescenzo (I3S-UNSA-CNRS-CNAM)" <Pierre.Crescenzo@unice.fr>
cc: www-html@w3.org
Message-ID: <Pine.SOL.4.05.10007271045400.1458-100000@magnus.math.uwaterloo.ca>
On 27 Jul 2000, Pierre Crescenzo (I3S-UNSA-CNRS-CNAM) wrote:

> 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.

No, you still want to use //EN, because the DTD was developed in the
English language.  EN refers to the fact that all the element and
attribute names are in English, and the comments in the DTD are also in
English.  The EN isn't used by a computer in any way, other than the fact
that it is part of the identifier for the HTML DTD.

If your entire or most of the document that you have marked-up is French,
then you want to use lang="fr" in the html element.  I believe you will
also want to use xml:lang="fr", but I'm a little less sure about that.

Russell O'Connor                           roconnor@uwaterloo.ca
``Paradoxically, a refusal to `put a monetary value on life' means that
life is often undervalued.'' -- Artificial Intelligence: A Modern Approach
Received on Thursday, 27 July 2000 10:50:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:54 UTC