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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:59:22+00:00 2026-06-01T10:59:22+00:00

I am currently reading Dive into HTML5 and I’ve got a question regarding the

  • 0

I am currently reading Dive into HTML5 and I’ve got a question regarding the character encoding part.

The book starts by saying that the reason there exists a <meta> element used to set the character encoding (like <meta http-equiv="Content-Type" content="text/html; charset=utf-8">)is that not everyone has access to web servers, and hence they are not able to set the HTTP Content-Type header, which would be the correct way to do it. Ok, that makes a lot of sense.

But then he goes on and says that

The HTTP header is the preferred method, and it overrides the <meta> tag if present.

Now, that doesn’t make sense. Wasn’t the <meta> tag supposed to allow you to override server behavior, in cases when you don’t have access to it?

  • 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-01T10:59:24+00:00Added an answer on June 1, 2026 at 10:59 am

    The http-equiv metas allow you to provide a value if the server is not sending it. They are not intended to be replacements for server side configuration, in fact it was always intended the server would parse the (static) file and send the appropriate header. Have a look at this description in the HTML 3.2 spec (Jan 1997):

    The HTTP-EQUIV attribute can be used in place of the NAME attribute
    and has a special significance when documents are retrieved via the
    Hypertext Transfer Protocol (HTTP). HTTP servers may use the property
    name specified by the HTTP-EQUIV attribute to create an RFC 822 style
    header in the HTTP response. This can’t be used to set certain HTTP
    headers though, see the HTTP specification for details.

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

Sidebar

Related Questions

I'm currently reading this amazing book called Dive into Python. Up to now everything
I'm currently reading Dive Into Python by Mark Pilgrim, and have gotten to the
I'm currently reading chapter 5.8 of Dive Into Python and Mark Pilgrim says: There
im currently reading a book about programming Android and there is a nice little
I'm currently reading the book Pro Asp.Net MVC Framework. In the book, the author
I'm currently reading the book Professional Enterprise .NET and I've noticed this warning in
I'm currently reading Head First's Object Oriented Analysis and Design. The book states that
I am currently reading a book about bit fiddling and the following formula appears:
I'm currently reading the django book and their instructions aren't working for me. People
I am currently reading a book on Javascript by Pragmatic, and I'm confused about

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.