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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:08:17+00:00 2026-05-21T03:08:17+00:00

In head, which comes first: meta or title? I was reading this: This [meta]

  • 0

In head, which comes first: meta or title?

I was reading this:

This [meta] tag should be the first in the
HEAD section, because the server will
process the text above as ASCII with
no specific format that it only known
once the tag is analyzed.

http://www.xul.fr/en/html5/html.php

Does the standard specify the order?

Are there disadvantages in either order?

  • 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-21T03:08:18+00:00Added an answer on May 21, 2026 at 3:08 am

    As all of the other answers have already indicated, it usually doesn’t matter. Here’s a bit more about when it matters and why.

    First of all, since you asked about standards, you might like to know that the text you are quoting comes from the W3C recommendations for HTML 4:

    http://www.w3.org/TR/html4/charset.html#h-5.2.2

    There is a similar discussion in the HTML 5 draft standard:

    http://dev.w3.org/html5/markup/syntax.html#encoding-declaration

    The underlying issue here is that the browser has to use some character set encoding to start processing the document it receives from the server. So, what happens if starts with one character set and then the <meta> tag tells it to use something else? The answer is, it depends…

    The server should specify the character set in the Content-Type field of the HTTP response header. If it does, the browser is supposed to use that character set and ignore any character set that may be indicated in a <meta> tag in the document being served.

    Unfortunately, many servers don’t provide this information. In that case, the browser has to assume something to get started. The something has to be “ASCII-compatible”, meaning that it agrees with ASCII for any characters in the ASCII range. If the document specifies the character set in a <meta> tag, the browser will start using that character set. So, if your title came before that, it has already been interpreted as ASCII, which could be wrong, depending on what was in the title.

    To sum up: if the server does not specify the encoding, and the title is encoded in something other than ASCII, then you need to put the <meta> tag that specifies the charset first. Otherwise, it doesn’t matter. So, to be safe, it makes sense to put the <meta> tag for the character set first.

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

Sidebar

Related Questions

I have a Site.Master in my ASP.NET project which defines a HEAD section as
I'm reading through head first design patterns at the moment and while the book
After reading the Head First Design Patterns book and using a number of other
This is the code from .aspx file <html xmlns=http://www.w3.org/1999/xhtml> <head runat=server> <title>Login Again</title> <script
I have a head file which I am using for a few different pages.
My head is about to explode with this logic, can anyone help? Class A
Ive been smashing my head with this for a while. I have 2 completely
To explain my question, let me first point to this array: <?php $_depends =
I've been banging my head on walls trying to solve this. My app uses
I found this problem, which I thought would be interesting to solve but couldn't

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.