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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:26:04+00:00 2026-06-11T18:26:04+00:00

I hope someone here can help me. I know that in IE 9, there

  • 0

I hope someone here can help me. I know that in IE 9, there is quirks mode and standard mode, if I do not define a doctype such as :

<!DOCTYPE html>

as the VERY FIRST line of my html, the browser will go into quirks mode.

Here is the problem, I’m writing something in HTML, which will then be embedded into another site(which I’ve checked, doesn’t have doctype declaration, the site belongs to my school so I have no way of changing it).

So in the end it will be something like this

<html> .... </html> //the original website code
<!DOCTYPE html>//my doctype declaration
<html>... </html> //my html code

As you can see, my DOCTYPE becomes useless.

And no, there is no way I can change the original html code nor can I force it to use iframe or anything else that might help me.

So my question is, is there anyone to force IE 9 to run in standard mode without DOCTYPE?

I have tried:

<html xmlns="http://www.w3.org/1999/xhtml"> //putting page in xhtml

<meta http-equiv="X-UA-Compatible" content="IE=9" />//forcing it like this

none of them worked for me.

Any ideas ?

Really appreciate any help at all at this point.

Thanks in advance!

EDIT:UPDATE :

Hi Everyone, Thanks for the help. I know that it is horrible practice to have < html > … < html > … < /html > … < /html >. However this is a limitation of my project and I have no control over it. Also, I can only manipulate the inner < html >..< /html >.

I searched around, and it seems like there is no “awesome” solution, as someone suggested, it might be possible to use Javascript to force IE 9 to run in standard mode, however that is not ideal for my project.

What I ended up doing was stripping my html page of css (so that it doesn’t matter if the browser runs in standard mode or not), instead, I added in-line styling (very basic ones) throughout the HTML as a painful work-around.

It seems like this is a corner-case that IE 9 didn’t anticipate, this problem doesn’t exist in Chrome, Firefox, IE 8, as I have tested.

Anyways, Thanks to everyone for the help!

  • 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-11T18:26:05+00:00Added an answer on June 11, 2026 at 6:26 pm

    Why without <!DOCTYPE>? It is the worst idea to choose.

    The <!DOCTYPE> declaration must be the very first thing in your HTML document, before the <html> tag. The <!DOCTYPE> declaration is not an HTML tag. It is an instruction to the web browser about what version of HTML the page is written in.

    A DOCTYPE (short for “document type declaration”) informs the validator which version of (X)HTML you’re using, and must appear at the very top of every web page. DOCTYPEs are a key component of compliant web pages: your markup and CSS won’t validate without them.

    Good reads:

    1. Fix Your Site With the Right DOCTYPE!
    2. Recommended Doctype Declarations to use in your Web document.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i know that node.js is relativity new.. so i hope that someone here can
I hope someone here can help me.. I am currently having a small issue
I hope someone can help here, we're having an incredibly annoying time with Visual
I hope someone can help me here. I'm having trouble loading this variable. Right
Ok guys, I hope someone here can help me. I got a bunch of
this my first question on here. I hope someone can help. It is to
I hope someone here can help me, i been trying to create an placeable
I hope someone here can help me. Im using selenium to test a page
I hope someone here can help me! :) Actually I've run into a wall
I have a very strange issue, that I'm hoping someone here can help me

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.