How does the xml:lang & lang attribute affect the rendering of XHTML Strict 1.0 pages? -


I looked inside the source of a public website which uses XHTML 1.0 strict DOCTYPE and found that it has two characteristics Is related to the language of the page

  & lt; Html xmlns = "http://www.w3.org/1999/xhtml" xml: lang = "ja" lang = "ja" & gt;  

The page is in Japanese on the way. My question is: -

I suspect that the attribute is xml: lang & amp; Lang does not affect the rendering of the page in the browser. This HTTP header has content-type that specifies the encoding of the page. Am i right

say:

Specified information through language different ways To control rendering, the lang feature can be used by the user agent. In some situations where the information given by the author can be useful, it includes:

  • Support Engine Assistance
  • Speech Synthesizer Help
  • Select the type of glyph to help the user agent
  • Helping the user agent choose a set of quotation marks
  • A user agent Hyphenation, Lignec And help to make decisions about spacing
  • Magic help checkers and grammar checkers

In addition, I will not think that this layout Or document mode (standard mode versus quirks mode). This is a very standard reference when it comes to such things, and there is no mention of the Lang character while searching for that site.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -