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

Received on Tuesday, 27 July 1999 13:39:53 UTC