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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:50:19+00:00 2026-06-12T06:50:19+00:00

So i have another question. I made a page with a xhtml1 doctype .

  • 0

So i have another question.
I made a page with a xhtml1 doctype.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

And i put on that page a video element, and a form element thats using a placeholder. It would make sense to me that the video and placeholder wouldnt load/be recognized because i dont use a HTML5 doctype.

However, the opposite is true, its loaded as html5.

To add to that, i created an iframe in the xhtml1 page. I was wondering, what would happen if i would put an HTML5 page as a source inside that iframe. Concluding, it also loads as html5.

However, how can i make sure that the xhtml1 page doesnt load html5, and the iframe html5 page does?

I assumed the difference was the doctype, but maybe its something else? Browser? Or is there a repost somewhere making the browser initialize it as xhtml1, loading the iframe with html5, and returning the entire page as html5?

Does someone have information about this? And possibly a way to solve it?

Thank you for your help! 🙂

Ps:
1x xhtml1 page with iframe. (should only load xhtml1)
1x html5 page placed in the iframe. (should load html5)
If everything is too confusing, i will post small code sampled to illustrate the problem. Just tell me.

  • 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-12T06:50:20+00:00Added an answer on June 12, 2026 at 6:50 am

    the type of content you put in header has nothing to do with the browser parsing the tags.
    so if your html code has html5 tags, they will be executed as normal.

    i don’t see any way to stop this except by manually checking with code.

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

Sidebar

Related Questions

I have another simple question about Node. I'm trying to make a simple http
I have a page that uses the JQuery Listnav plugin ( http://www.ihwy.com/labs/jquery-listnav-plugin.aspx ). The
i have another question on getting my XML serialization neat, which i can't seem
I have another question :(. I'm trying to download multiple files for my application.
I have another question and I can't seem to find anything on Google. What
Okay, so I have another question on a prolog homework problem I am struggling
I have another Richfaces question which may seem rather weird. I am developing a
i have another (probably unanswered) question about map views. I have a map view
I have recently posted another question which straight away users pointed me in the
I have read an answer to another question here on Stack Overflow. Let 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.