XHTML5与HTML5有什么区别? [英] What differences are expected of XHTML5 versus HTML5?

查看:160
本文介绍了XHTML5与HTML5有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

XHTML5与HTML5有什么不同?我知道XHTML5是该语言的XML形式,HTML5是该语言的SGML形式,这意味着明显的小语法差异。会有进一步的分歧吗? XHTML5会不赞成HTML5不赞成的完全没有价值的元素吗?将XHTML5写成模式而不是文档类型? XHTML5会强加结构验证,而不是仅仅说明什么是孩子? XHTML5会提供HTML5中不具备的可访问性优势吗? XHTML5会提供任何安全增强功能吗?

What differences are expected of XHTML5 versus HTML5? I understand that XHTML5 is the XML form of the language and HTML5 is the SGML form of the language, which means obvious minor syntax differences. Will there be any further differences? Will XHTML5 deprecate completely worthless elements that were not deprecated by HTML5? Will XHTML5 be written in schema instead of doctype? Will XHTML5 impose structural validations instead of merely stating what is a child of what? Will XHTML5 offer accessibility advantages that not available in HTML5? Will XHTML5 offer any security enhancements?

请分享你有关于网站未来的知识吗?

Please share any knowledge you have about is claimed to be the future of the web?

推荐答案

http://wiki.whatwg.org /wiki/HTML_vs._XHTML 是试图记录HTML5和XHTML5之间的区别。据我所知,这是迄今为止这个问题上最好的资源。

http://wiki.whatwg.org/wiki/HTML_vs._XHTML is an attempt to document the differences between HTML5 and XHTML5. As far as I know it is the best available resource on this subject to date.

这篇关于XHTML5与HTML5有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆