HTML and CSS Reference
In-Depth Information
See Also
For more style recommendations, see http://www.fredzlinkz.com/webcitymaster/html5
-syntax-style-recommendations .
2.3 Understanding Browser Support for HTML5
Problem
You want to find out if a browser or specific browser version supports a feature of
HTML5.
Solution
As of this writing, the HTML5 specification is still evolving. Browsers are implementing
portions of the specification before it's complete, but support in modern browsers is
not 100% complete (nor should it be).
As demonstrated by the chapters in this topic, there is a sizable portion of the HTML5
specification that is supported and can be utilized immediately. For a breakdown of
HTML5 support across browsers, see http://caniuse.com/#cats=HTML5 . A visual
representation of HTML5 as well as CSS3 can be seen at http://html5readiness.com , as
shown in Figure 2-1 .
Discussion
Generally speaking, all of today's latest browsers support HTML5 to some degree or
another.
Using HTML5 isn't an absolute proposition. You don't have to use embedded content
or web sockets to use the new structural elements, and vice versa. You don't even have
to use the new structural elements to have a valid HTML5 document; you just need
the Document Type Definition (see Recipe 1.1 ).
Pick the features that work for you, and leave the rest. Or, rather, experiment with the
rest to see if you may find a practical implementation for yourself or your projects.
See Also
See http://html5readiness.com for a visual representation of browser support for
HTML5 and CSS3.
 
Search WWH ::




Custom Search