We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<! DOCTYPE html>
第66天 HTML5如果不写<! DOCTYPE html> ,页面还会正常工作么?
The text was updated successfully, but these errors were encountered:
会啊! 只是有时候不是按照你想的那种情况来工作, 不过浏览器认为那是正常的 doctype就是声明文档类型, 它的影响范围包括HTML, CSS, DOM, 等 如果不声明文档类型, 浏览器就会按照自己的理解(规则)默认帮你声明一种类型. 具体看浏览器行为
doctype
Sorry, something went wrong.
页面添加了<! DOCTYPE html>说明该页面采用了W3C标准,如果不加则页面会根据浏览器自身的解析标准来解析,这可能会导致页面在不同的浏览器呈现出不同的效果。
No branches or pull requests
第66天 HTML5如果不写
<! DOCTYPE html>
,页面还会正常工作么?The text was updated successfully, but these errors were encountered: