How to put the document mode on Edge by default on explorer 11-e?
1 answer
The "edge" mode is the default mode for all modern HTML documents. No meta headings need to be added anywhere, nothing needs to be set up. If the document has signs of a normal HTML5 document ( <!DOCTYPE html> , in particular), then everything will work fine.
If the document has no signs of a modern HTML document (it has an outdated or completely missing DOCTYPE, for example), then no browser settings can be made to display it as a modern document. From the point of view of the browser, this can break the site, so it will not do so. Correct the document itself.
If you want to check the site for compatibility with the new version, while the site works in compatibility mode, then you can forcibly switch the mode on the developer panel.
A header with edge mode ( <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> ) may be necessary in an extremely rare case when you manage a very popular website, Microsoft included your site in the list of incorrect in the new version of the browser, you ignored it, fixed it in a year, and now you want to be excluded from the list of buggy popular sites.
Even in the browser there is a setting for displaying intranet sites in compatibility mode. It should be used with caution, because the site itself will not be able to override this setting.
- Compatibility mode setting for intranet sites is enabled by default, but the site can block it, with the X-UA-Compatible header, but not just the edge, but with specific versions listed - stackoverflow.com/a/509148/177221 - PashaPash ♦