We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
一些官方内容在这里: http://dev.w3.org/html5/html4-差异/#apis。不过,这里有一个提供一些新功能的精彩演示的网站:http://html5demos.com/(您可以查看来源查看代码)。马塞尔指出的资源也是一个很好的资源。
Some official stuff is here: http://dev.w3.org/html5/html4-differences/#apis. A site with some sweet demos of the new features is here though: http://html5demos.com/ (You can view source to see the code). The resource that Marcel pointed out is also a good one.
您可以查看最新的工作草案,特别是有关
元素。它包含一些 Javascript 示例。
但请记住,它当然仍然是一个工作草案,可能会发生变化。此外,历史表明,浏览器可以对规范的内容有不同的实现。在工作草案中有关于浏览器支持的黄色注释。
此外,您可以阅读 ECMAScript 5 的规范,以查看浏览器可能支持的内容(但这与 HTML5 本身无关)。
You can have a look at the last Working Draft of HTML 5, specifically the section about the
<video>
element. It contains some samples of Javascript.But remember that it is of course still a working draft and liable to change. Moreover, as history shows browsers can have different implementations of what the specs say. In the Working Draft there are yellow annotations regarding browser support.
Furthermore, you can read the specifications of ECMAScript 5, to see what browsers may support (but this has nothing to do with HTML5 as such).
除了其他人提供的文档之外,您可能还需要查看 Modernizr。这个小脚本将让您为任何浏览器不一致支持的 HTML5 属性指定 CSS 和 JS 后备。
In addition to the documentation others have provided, you may want to look at Modernizr. This small script will let you specify CSS and JS fallbacks for any HTML5 attributes that are not consistently supported across browsers.
无耻的自我推销,但您可能想看看 simpl.info,其中包含 HTML、CSS 和JavaScript。
有很多“HTML5”的东西:getUserMedia()、getUserMedia() info/pc" rel="nofollow">WebRTC CSS 过滤器, 资源计时,语音识别 >、MutationObserver 等等。
Shameless self promotion, but you might want to take a look at simpl.info, which has simplest possible examples of HTML, CSS and JavaScript.
There's a lot of 'HTML5' stuff: getUserMedia(), WebRTC CSS filters, Resource Timing, speech recognition, MutationObserver and lots more.