解决方法
很好的问题,但我想大部分你想知道的是简单的参考:
http://www.w3.org/TR/html4/struct/dirlang.html
一些亮点:
Language information specified via the
lang attribute may be used by a user
agent to control rendering in a
variety of ways. Some situations where
author-supplied language information
may be helpful include:
- Assisting search engines
- Assisting speech synthesizers
- Helping a user agent select glyph variants for high quality typography
- Helping a user agent choose a set of quotation marks
- Helping a user agent make decisions about hyphenation,
ligatures,and spacing- Assisting spell checkers and grammar checkers
我不相信HTML4和HTML5之间有任何重要的区别.