常问议题

From HTML5 Chinese Interest Group Wiki
Jump to: navigation, search

HTML和XHTML的区别在哪里?

参考http://wiki.whatwg.org/wiki/HTML_vs._XHTML#Differences_Between_HTML_and_XHTML

哪些其实不算是HTML5?

以下的技术,经常被说为是HTML5,毕竟很多时候大家都用HTML5笼统代表W3C的很多新技术。这个没有对错,不过严格遵守specs,他们不属于HTML5

Web Workers
Web Storage
WebSocket API
WebSocket protocol
Server-sent Events
Media Type Sniffing
The Web Origin Concept
Geolocation API
SVG
MathML
XMLHttpRequest
Parts of CSS.

WHATWG是谁?不是说HTML5是由W3C制定吗?

 

bla bla....

属于WHATWG的HTML规范,但不在W3C HTML5的有哪些?

两个机构的HTML规范其实很相近,不过WHATWG里也添加了以下

Canvas 2D Graphics Context Microdata Microdata vocabularies Cross-document messaging (also known as Communications) Channel messaging (also known as Communications)