Skip to content

32.每个 HTML 文件里开头都有个很重要的东西,Doctype,知道这是干什么的吗? #32

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
webVueBlog opened this issue Mar 13, 2020 · 2 comments
Labels
html html

Comments

@webVueBlog
Copy link
Member

No description provided.

@webVueBlog
Copy link
Member Author

声明位于文档中的最前面的位置,处于 标签之前。此标签可告知浏 览器文档使用哪种 HTML 或 XHTML 规范。(重点:告诉浏览器按照何种规范解析页面)

@webVueBlog webVueBlog added the html html label Mar 13, 2020
@webVueBlog
Copy link
Member Author

The declaration is at the top of the document, before the label. This tag tells the browser which HTML or XHTML specification to use for the document. (important: tell the browser what specifications to use to parse the page)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
html html
Projects
None yet
Development

No branches or pull requests

1 participant