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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:14:50+00:00 2026-05-22T01:14:50+00:00

I want to output two HTML documents, wrapped inside of an HTML document Is

  • 0

I want to output two HTML documents, wrapped inside of an HTML document

Is it possible to do something like this with HTML?

<html>
  <head></head>
  <body>
    <frameset>
      <frame>
        <html>
          <head></head>
          <body>First page here</body>
        </html>
      </frame>
      <frame>
        <html>
          <head></head>
          <body>Second page here</body>
        </html>
      </frame>
  </body>
</html>

It doesn’t have to be frames, but I only want to hit the server once, so linking to a document with src attribute is out, it has to be inline.

  • 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-22T01:14:51+00:00Added an answer on May 22, 2026 at 1:14 am

    Not possible. Neither iframe nor frame is inline. The best for your scenario would be to extract the body tag content, and insert it into a div. CSS would be a problem, though – there’d have to be some processing on it so it would be restricted to just half the page. Something like this:

    <html>
      <head>
        <title>Combined</title>
      </head>
      <body>
        <div id="page1">
          First page here
        </div>
        <div id="page2">
          Second page here
        </div>
      </body>
    </html>
    

    CSS transformation: body -> #page1 (or #page2), #id -> #id, anything else X -> #page1 X.

    Using iframes is definitely easier; and if the server is well-configured, it probably doesn’t even require a separate connection.

    BTW: Your suggestion will probably render, but AFAIK it’s non-standard (browsers guessing what you want, instead going by the specification, something browsers have gotten used to having to do); and there’s still the problem of CSS.

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

Sidebar

Related Questions

I want to partition the output screen into two parts (just like frames do
I want to create an array which has two columns. The output should contain
I'm trying to output the log between two tagged commits. mbell@cheetah [12:07:22] [/var/www/html/brone] [dev]
I want to use Facelets to build a static HTML prototype. This prototype will
I want my page to look like this: +------+------+ |first |third | | |
I have a basic html form which I want to use with two submit
Ok, I have page with something like this (I added 'scrapehere' string to make
I have created two JSP programs as follows. First One: Addmulti.jsp <html> <head><title>Upload Excel
I want to output the function name each time it is called, I can
I want to output top 10 lines of AWK command in the list of

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.