Re: EN and FR

From: Kynn Bartlett (kynn@idyllmtn.com)
Date: Tue, Jul 27 1999


Message-Id: <4.1.19990727103722.01baadf0@mail.idyllmtn.com>
Date: Tue, 27 Jul 1999 10:38:57 -0700
To: Pierre.Crescenzo@anima.net
From: Kynn Bartlett <kynn@idyllmtn.com>
Cc: www-validator@w3.org
Subject: Re: EN and FR

At 09:26 AM 7/27/1999 , Pierre Crescenzo wrote:
>I've validate a page [1] in HTML 4.0 strict. When I use :
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
>	"http://www.w3.org/TR/REC-html40/strict.dtd">
>that's OK. But if I change EN to FR (the page is in French), 

As I understand the doctype, the "EN" tells what language the
specification was written in.

To identify the language of the document itself, you would want
to use the LANG attribute, which can be used on most elements;
I suggest:

  <!DOCTYPE as above>
  <HTML LANG="en">
  ...
  </HTML>

--Kynn
  

-- 
Kynn Bartlett  <kynn@idyllmtn.com>                   http://www.kynn.com/
Chief Technologist, Idyll Mountain Internet      http://www.idyllmtn.com/
Catch the Web Accessibility Meme!                   http://aware.hwg.org/
Next Online Course starts August 2         http://www.kynn.com/+nextclass
"Pissing off comic book fans isn't a business problem, it's a sport." -NK