RE: [WSG] Meta tag question
If you specify an xml:lang attribute in the html tag, do you still have to use a meta tag to specify the content-language for the document? You are not required to add the content-language tag to your document. If your need to focus upon a specific language for categorization and optimization, you may use this. So, search engines may use the content-language to categorize your documents based upon language you may. I do not know of any tests performed recently to validate the use of the tag. If your document is American English I would recommend not using it. Don't foregut your HTML to Content ratios. Lee Roberts http://www.roserockdesign.com http://www.applepiecart.com -- Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.262 / Virus Database: 264.6.4 - Release Date: 8/19/2004 ** The discussion list for http://webstandardsgroup.org/ Proud presenters of Web Essentials 04 http://we04.com/ Web standards, accessibility, inspiration, knowledge To be held in Sydney, September 30 and October 1, 2004 See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] Meta tag question
If you specify an xml:lang attribute in the html tag, do you still have to use a meta tag to specify the content-language for the document? ** The discussion list for http://webstandardsgroup.org/ Proud presenters of Web Essentials 04 http://we04.com/ Web standards, accessibility, inspiration, knowledge To be held in Sydney, September 30 and October 1, 2004 See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Meta tag question
On Aug 22, 2004, at 8:13 am, Sage Olson wrote: If you specify an xml:lang attribute in the html tag, do you still have to use a meta tag to specify the content-language for the document? Yes. It you specify xml:lang=ja, you still could send the file as charset=shift_jis or charset=utf-8. (not a big problem with English, as it only use lower ASCII, but for many other languages, you could end up with weird characters if the browser misinterpret the language encoding in use.) And you better have the server send the correct headers associated with the file. PS - IE ignores the xml:lang and lang attributes, just doesn't know they exist. P. ---/--- Philippe Wittenbergh now live : http://emps.l-c-n.com/ code | design | web projects : http://www.l-c-n.com/ IE5 Mac bugs and oddities : http://www.l-c-n.com/IE5tests/ ** The discussion list for http://webstandardsgroup.org/ Proud presenters of Web Essentials 04 http://we04.com/ Web standards, accessibility, inspiration, knowledge To be held in Sydney, September 30 and October 1, 2004 See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
RE: [WSG] Meta tag question
PS - IE ignores the xml:lang and lang attributes, just doesn't know they exist. This isn't entirely correct. JAWS, Window-Eyes, IBM HomePage Reader and other screen readers that use IE as the required browser interpret those values. IE doesn't ignore those values. Those values simply do not offer standard browsers anything that helps their presentation. Browsers require Character set to determine how the text should be presented (left-to-right, right-to-left, top-down) and which set of characters to call into the browser presentation. Lee Roberts http://www.roserockdesign.com http://www.applepiecart.com -- Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.262 / Virus Database: 264.6.4 - Release Date: 8/19/2004 ** The discussion list for http://webstandardsgroup.org/ Proud presenters of Web Essentials 04 http://we04.com/ Web standards, accessibility, inspiration, knowledge To be held in Sydney, September 30 and October 1, 2004 See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **