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

lang attribut

From: JoŽl Brogniart <Joel.Brogniart@univ-lyon2.fr>
Date: Fri, 25 Jun 1999 10:57:23 -0400 (EDT)
Message-Id: <v04205503b39947d93a7f@[159.84.67.229]>
To: www-validator@w3.org
Hi,

The HTML 4.0 doc says that the "HTML" tag could have a "lang" 
attribut (see 
<http://www.w3.org/TR/REC-html40/struct/global.html#edef-HTML> and 
<http://www.w3.org/TR/REC-html40/struct/dirlang.html#adef-lang>). But 
the validator at <http://validator.w3.org/> gives an error for an 
html page where the lang attribut is set for the "HTML" tag.

Sample page

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" 
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html lang="fr">

<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Exemple</title>
</head>

<body>
<p>Un petit exemple</p>
</body>

</html>

Regards

JoŽl Brogniart
SENTIERS  - Universitť LumiŤre Lyon 2
<http://sentiers-nte.univ-lyon2.fr/~brogniar
Received on Friday, 25 June 1999 11:16:06 GMT

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