Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8131469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:05:53+00:00 2026-06-06T09:05:53+00:00

I don’t realy understand how these modes works, for example if i add <!DOCTYPE>

  • 0

I don’t realy understand how these modes works, for example if i add

<!DOCTYPE> to make it html5 document and then add

<meta http-equiv="X-UA-Compatible" content="IE=9" />

IE would render in IE 9 standarts right?

But my question is what if user doesn’t have IE 9 but have IE 6 or 7 and my page would have some features that only works with IE 9 would it still somehow work or not?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T09:05:56+00:00Added an answer on June 6, 2026 at 9:05 am

    Firstly, the way you wrote <!DOCTYPE> on its own in the question isn’t valid; you need to specify which doctype to use. If you want to use HTML5, then the doctype line should look like this:

    <!DOCTYPE html>
    

    When you have a working doctype, IE will render the page in Standard Mode. Without a doctype, IE will use Quirks mode. Quirks mode is basically an IE5-compatibility mode, with lots of non-standard stuff that breaks in every other browser. You should therefore always use a doctype.

    Secondly X-UA-Compatible: This tells IE to use a particular rendering mode, if it can.

    Obviously, older versions of IE can’t use the rendering mode of newer IE versions, so this tag is also really only of any use for backward compatibility reasons. So the direct answer to your question is ‘No’: IE6 will never be able to render in IE9 mode, and nor will IE7 or IE8.

    IE8 is able to use IE7-compatibility mode and IE9 has both IE8 and IE7 compatibility modes. This tag will trigger IE to use those modes rather than its standard mode.

    This is useful as a quick-fix solution if your site was written for an old version of IE and doesn’t work properly in newer versions. This is fine if you’re in an internal network where everyone is forced to use IE, but on the wider internet you also need to support other browsers, and if a site works in IE8 but breaks in IE9, then there’s a good chance it’ll break in other browsers too. I would therefore suggest that X-UA-Compatible isn’t really all that useful in the real world.

    However, there is one case where it is useful to include it: There are config settings in IE that can be set to automatically trigger backward compatibility mode. So an IE8 user might be in IE7 mode without even knowing it.

    This is obviously a problem, but specifying X-UA-Compatible to a higher value will force IE to take the newer rendering mode instead. This is a good thing.

    In this case, however, you shouldn’t be specifying the IE version to use — because if you specify IE=9, what happens to IE10 users? Instead, you should use the special-case value edge. This forces IE to use the latest rendering mode that it has available to it, regardless of any other settings. In most cases, this is what you want to do. The code would look like this:

    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    

    Hope that helps.

    Oh, and by the way, X-UA-Compatible can also be specified in the HTTP headers instead of inside the HTML code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Don't think that I'm mad, I understand how php works! That being said. I
Don't these two mean the same thing, first get the value and then increment?
I don't understand why a vector 's iterator should be invalidated when a reallocation
I don't know: if this works. if it's a good idea. what it is
Don't know what to do with this error. How to add data in SQL
don't understand: in my controller: @json = User.all.to_gmaps4rails do |user| \Title\: \#{user.email}\ end in
Don't understand, if Data.Map is and [] is. I found this out while wondering
Don't quite understand determinism in the context of concurrency and parallelism in Haskell. Some
I don't know when to add to a dataset a tableadapter or a query
Don't understand why #include <Header.h> is not compiling while #include Header.h is compiling with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.