W3C home > Mailing lists > Public > www-validator@w3.org > July 1999

Re: EN and FR

From: Kynn Bartlett <kynn@idyllmtn.com>
Date: Tue, 27 Jul 1999 10:38:57 -0700
Message-Id: <4.1.19990727103722.01baadf0@mail.idyllmtn.com>
To: Pierre.Crescenzo@anima.net
Cc: www-validator@w3.org
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
Received on Tuesday, 27 July 1999 13:39:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:52 GMT