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] 第36天 HTML与XHTML二者有不同 #132

Open
haizhilin2013 opened this issue May 21, 2019 · 8 comments
Open

[html] 第36天 HTML与XHTML二者有不同 #132

haizhilin2013 opened this issue May 21, 2019 · 8 comments
Labels
html html

Comments

@haizhilin2013
Copy link
Collaborator

第36天 HTML与XHTML二者有不同

@haizhilin2013 haizhilin2013 added the html html label May 21, 2019
@zhangdiz
Copy link

  1. XHTML 标签必须关闭
  2. XHTML所有标签必须小写
  3. XHTML标签必须正确嵌套

@AnsonZnl
Copy link
Contributor

所有的 XHTML 元素必须被嵌套于 根元素中。

@tzjoke
Copy link

tzjoke commented May 28, 2019

xhtml 更加严格

@Konata9
Copy link

Konata9 commented Aug 31, 2019

XHTML 的规范更加严格。

  • 标签必须闭合 <div></div>, <img />
  • 标签名和属性名必须小写

@ducky-YFH
Copy link

@censek
Copy link

censek commented Nov 4, 2019

XHTML 指可扩展超文本标签语言(EXtensible HyperText Markup Language)。
XHTML 是更严谨更纯净的 HTML 版本。

@blueRoach
Copy link

  • XHTML 元素必须被正确地嵌套。
  • XHTML 元素必须被关闭。
  • 标签名必须用小写字母。
  • XHTML 文档必须拥有根元素。

@MrZ2019
Copy link

MrZ2019 commented Oct 22, 2020

XHTML 标签必须关闭
XHTML所有标签必须小写
XHTML标签必须正确嵌套

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

No branches or pull requests

9 participants