Skip to content
New issue

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

【HTML】是否了解文档模式 或者说 文档类型 #94

Open
yayxs opened this issue May 24, 2022 · 0 comments
Open

【HTML】是否了解文档模式 或者说 文档类型 #94

yayxs opened this issue May 24, 2022 · 0 comments

Comments

@yayxs
Copy link
Owner

yayxs commented May 24, 2022

一般有几种DOCTYPE文档类型

IE5.5 发明了文档模式的概念 doctype

最初:混杂模式 + 标准模式
后来:+准标准模式

混杂模式 标准模式 准标准模式
省略doctype Transitional Frameset
  • HTML 4.01 规定了三种文档类型:Strict、Transitional 以及 Frameset。
  • XHTML 1.0 规定了三种 XML 文档类型:Strict、Transitional 以及 Frameset。
  • Standards (标准)模式(也就是严格呈现模式)用于呈现遵循最新标准的网页,
  • Quirks(包容)模式(也就是松散呈现模式或者兼容模式)用于呈现为传统浏览器而设计的网页。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant