Where is a good resources for all the Javascript APIs for HTML5

Viewed 13172

I'm looking for a reference that summarizes all of the available Javascript APIs that are introduced with HTML 5, for each browser that has implemented any of the new features. Does something like this exist? If nothing else, then at least the VIDEO tag

4 Answers

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).

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.

Related