What is the way HTML5 declares compatibility with IE?
This article is to share with you about the HTML5 statement compatible with IE is how to write, the editor thinks it is very practical, so share it with you to learn, I hope you can get something after reading this article, say no more, follow the editor to have a look.
It is a statement from HTML5 that only IE8 and below are not supported in mainstream browsers, so IE will enter Quirks mode. However, subsequent declarations can force the rendering mode of IE to be specified, so the declaration has no effect on IE.
HTML5 is not as strict as XHTML, for general xhtml pages, basically do not fully pass the W3C verification standard, but can basically pass after being declared by HTML5.
The code is as follows: