How can I show HTML from another page in my page?

Posted on 2009-04-20
Last Modified: 2012-05-06

I have a homepage with simple information that is constantly updated. What I want to do is that rather than having me update my html in my homepage every time, I just want to place a link in that location where the link will really be the information that will be displayed.

For example, lets that my website is:

In testworld.html I don't want any <body> information but all I want is a link to lets say, . If I place the link in there, I want to show everything on's page to include images, text, etc... rather than me copy/pasting all the information directly into testworld.html.

I am trying to accomplish this so that people don't modify the contents of my homepage but instead, modify contents to another page that I can point to in my homepage. This will also give me the flexibility of changing where the homepage points to.

Note: I DON'T want to simply redirect the page to that new place. I just want to show contents of 1 page in my homepage.

Is this feasible? If so, let me know.
Question by:piyushdabomb
    LVL 6

    Accepted Solution

    With plain HTML, this can be done with IFRAME.
    <iframe src=""></iframe>

    Open in new window

    LVL 19

    Expert Comment

    Does the legality of what you want to do concern you? Not many companies will appreciate having their site displayed by an undesired 3rd party. In fact I'd say that you'll receive a letter/email from Google legals if they come across it. Paragraph 5 of their TOS reads "You agree not to access (or attempt to access) any of the Services by any means other than through the interface that is provided by Google".

    Author Comment


    Can I ask you to upload a sample test page with what I'm trying to do? Note that my page already has frames.



    Google was JUST an example. I will never plagiarize but from myself.
    LVL 13

    Assisted Solution

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "">
    <html xmlns="">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
          border: 1px solid #993333;
    <title>Untitled Document</title>

    <frameset rows="100" frameborder="no" class="border">
      <frame src="" name="topFrame" scrolling="yes"  id="topFrame" title="topFrame" />

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Both Easy and Powerful How easy is PHP? (  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now