在html5 html标记中不使用lang属性的后果 [英] Consequences of not using a lang attribute in an html5 html tag
问题描述
我的网站如何处于不利的状态: 好的问题,但我想大部分你想知道的是简单的参考: http://www.w3.org/TR/html4/struct/dirlang.html 一些亮点:$ b 通过 我不相信HTML4和HTML5在这方面有任何重要的区别。 If at the start of my html5 doc I simply use: how will my site be at a disadvantage for not using something like: Good question, but I think most of what you want to know is simple reference: http://www.w3.org/TR/html4/struct/dirlang.html Some highlights: 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: I don't believe there are any important differences between HTML4 and HTML5 regarding this. 这篇关于在html5 html标记中不使用lang属性的后果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!<!DOCTYPE html>< html> $ c
<!DOCTYPE html>< html lang =en>
$ b
lang属性指定的语言信息可以被用户
代理使用控制以
种方式进行渲染。
作者提供的语言信息
可能有帮助的一些情况包括:
连字符和间距的决定
<!DOCTYPE html><html>
<!DOCTYPE html><html lang="en">