开发者

What browsers support HTML 5 / CSS3 [closed]

开发者 https://www.devze.com 2023-01-14 04:26 出处:网络
Closed. This question needs t开发者_StackOverflow社区o be more focused. It is not currently accepting answers.
Closed. This question needs t开发者_StackOverflow社区o be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 5 years ago.

Improve this question

Was reading that IE9 will support HTML 5/ CSS 3

What other browsers support this?


See:

  • Browser support for CSS3 and HTML5
  • When can I use...


There's an excellent graphical summary of browser support for the various features here:

http://html5readiness.com/

...which uses data from When Can I Use...


Also There is a way to support HTML5 elements on IE8 and below using the "shiv".

You can read all about it here:

But to sum it up, new HTML5 elements such a <section>, <article>, <aside> etc... were not a part of the original HTML4 spec which older browsers such as IE8 conform to. However there is a way for older browsers to recognize HTML5 elements using the code snippet below:

"abbr article aside audio bdi canvas data datalist details figcaption figure "+
"footer header hgroup main mark meter nav output progress section " +
"summary template time video"
.replace(/w+/g, function(a){ document.createElement(a) });

Remember to execute this immediately on page load.

0

精彩评论

暂无评论...
验证码 换一张
取 消