W3C home > Mailing lists > Public > www-international@w3.org > October to December 2004

declaring language in html/xhtml

From: Alan Pierce <apierce411@hotmail.com>
Date: Mon, 29 Nov 2004 18:25:54 +0000
Message-ID: <BAY15-F13696A69726217FFB7965D92BD0@phx.gbl>
To: www-international@w3.org

My site serves some html and some xhtml [as text/html].

For convenience, I want to declare the language the same way for both types 
of content.

Does it make any practical difference to serve html with the html tag 
marked-up as xhtml, like:
<html lang="ja-JP" xml:lang="ja_JP"  xmlns="http://www.w3.org/1999/xhtml">

as opposed to simply
<html lang="ja-JP"> ?

thank you in advance.


Don't just search. Find. Check out the new MSN Search! 
Received on Monday, 29 November 2004 18:26:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:24 UTC