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 7691419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:37:07+00:00 2026-05-31T20:37:07+00:00

There is advice that says the meta-tag declaring encoding should be as early as

  • 0

There is advice that says the meta-tag declaring encoding should be as early as possible, preferably first in the head like so:

<head>
  <meta charset="utf-" /><!-- Yes I like XHTML syntax, get over it -->
  <title></title>
  <!-- The usual suspects -->
</head>

Now I wonder if it has any discernible effect where in this flow I put

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

Possible problems/issues that I’ve not read any research about:

  • Performance
  • Flash of old-layout-engine layout before switching…

Instinct tells me to put the meta-tag as early as possible, but are there any hard evidence?

  • 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-05-31T20:37:09+00:00Added an answer on May 31, 2026 at 8:37 pm

    Not a hard evidence, but a theory of mine: since the Document does not yet have a body, no paints or flows have been made after the head element is finished. When the body element is parsed and painting begins, the X-UA-Compatible directives should have been dealt with already. So when it comes Stylesheets, it should not matter.

    Scripts, however, are blocking parsing and will be executed when they shows up, unless they use the defer attribute and the IE version supports it.

    One could argue that delayed callbacks gets the change, though; I have onContentLoaded callbacks, window.onload callbacks and callbacks wrapped with setTimeout in mind. So when it comes to script, the position of X-UA-Compatible meta matters. It would be really interesting to do some testing with this.

    If scripts are placed at the bottom of the body element, like Souders recommends, it should not be a problem though.

    At the end of the day, the most bulletproof solution is to skip meta elements and instead use HTTP headers. That is what I would do.

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

Sidebar

Related Questions

There's a lot of advice out there that you shouldn't expose your fields publically,
In my company there is a coding rule that says, after freeing any memory,
There is a conversion process that is needed when migrating Visual Studio 2005 web
There are two popular closure styles in javascript. The first I call anonymous constructor
There are a few ways to get class-like behavior in javascript, the most common
There is a field in my company's Contacts table. In that table, there is
Is there anyone using git in such a fashion? I would like to distribute
This is an assignment that I've been given, it says that if an hash-set
I followed the advice received in a previous discussion ( Should "Library path" point
There are two weird operators in C#: the true operator the false operator If

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.