How about IE's support for HTML5?
This article mainly shows you "how is IE's support for HTML5", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how is IE's support for HTML5" this article.
IE support for HTML 5
IE browsers currently have poor support for HTML5, and it's a big stumbling block to the faster adoption of HTML5, but IE9's support for HTML5 is good. IE parses the new tags in HTML 5 into inline elements, but they are actually block-level elements, so it is necessary to define a style for them:
Header, footer, article, section, nav, menu, hgroup {display: block;}
However, IE still can't parse these new HTML 5 tags, so you need to use Javascript to solve this problem:
Document.createElement ("article"); document.createElement ("footer"); document.createElement ("header"); document.createElement ("hgroup"); document.createElement ("nav"); document.createElement ("menu")
You can use this Javascript code to fix IE's better parsing of HTML 5.
The above is all the content of the article "how is IE's support for HTML5?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!