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.

Al.

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Received on Monday, 29 November 2004 18:26:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:04 GMT