11000 vs11001

S-Soft 666 Reputation points
2023-02-19T15:56:43.3333333+00:00

Hello,

Still could not choose the correct value for Browser Emulation:

https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/general-info/ee330730(v=vs.85)

To set in the registry for my vb.net app's WebBrowser control...

All html files I will load into it, are html files that I have saved from email bodies, so should not be advanced.

Anyway, don't know which one to choose, if any idea please share :)

  • Since htmls loaded into the WebBrowser control are all saved from email body parts, it is possible that some of them won't have !DOCTYPE

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.

Developer technologies | VB
Developer technologies | C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 34,221 Reputation points Microsoft External Staff
    2023-02-20T01:40:48.73+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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.