Interoperability HTML5 weird mode in ie10

Source: Internet
Author: User

Microsoft's latest ie10 Platform Preview version 4 uses an internally defined HTML5-based behavior and a quirks mode with interoperability to enhance HTML5 support ), set this HTML5-based weird mode to ie10's default weird mode.

Users and web developers want the website to be compatible with different browsers. Although HTML, CSS, and javascript can be used in different browser versions to achieve cross-platform implementation in a similar way, however, HTML5 can define some previously unspecified Web platforms to promote cross-browser consistency. This largely involves HTML5 Syntax Parsing rules, as well as how the browser's weird pattern should behave.

The HTML5 weird mode of ie10 is applicable to the definition of a traditional page with no doctype added or a doctype added in HTML5. Like other browsers, HTML5 adopts the same behavior standard as the weird mode selected by applications in ie10. This means that functions such as <canvas>, <audio>, and <video> are still available. The most important thing is that ie10's weird pattern behavior is consistent with that of other browsers, so a page without a doctype can always run.

Developers can use the F12 developer tool to quickly set the mode in which the page runs. The latest HTML5 standards and weird patterns are now named standard and quirks ). In addition, ie10 still contains the traditional IE7, IE8, and ie9 models. The Old Weird mode of IE is now called the weird mode of ie5.

Ie10 continues to use ie5's weird mode in the Compatibility View, and uses X-UA-compatible to define a page without doctype to run in ie5's weird mode.

<Meta http-equiv = "X-UA-compatible" content = "Ie = 5">

HTML5 defines the weird mode as compatibility and interoperability, but you should continue to add at the top of your newly created website <! Doctype HTML <defines the standard mode.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.