you pick the one that has best compatibility with the html pages you have to display. Most sites no longer support IE 11, so you may have compatibility problems anyway.
Browser Emulation
Hello devs,
I'm using a WebBrowser control to show some contents and I've been told that it's using IE7 mode by default, and to emulate newer versions of IE, should change the default emulated IE mode via:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION"
WindowsApp.exe
As seen here:
Since am not familiar with html/browser protocols, shall I always enable this mode for my app on all target systems?
If so, which one?
11001 (0x2AF9 Internet Explorer 11. Webpages are displayed in IE11 edge mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks.
or
11000 (0x2AF8) IE11. Webpages containing standards-based !DOCTYPE directives are displayed in IE11 edge mode. Default value for IE11.
Thanks for advise :)
Developer technologies VB
Developer technologies C#
2 answers
Sort by: Most helpful
-
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
2023-02-16T16:37:57.7333333+00:00 -
Jiachen Li-MSFT 34,221 Reputation points Microsoft External Staff
2023-02-23T01:48:54.2133333+00:00 Hi @S-Soft ,
How does Internet Explorer determine the document mode
The <!DOCTYPE> declaration determines whether the webpage renders some specific Quirks mode emulation (QME) behavior that is specified in the MS-HTML5 and MS-CSS21 documentation.
Based on your description, 11000 (0x2AF8) is better.
Since IE11 is no longer supported, there may be compatibility issues.
Best Regards.
Jiachen Li
----------
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.