www.webdeveloper.com
Results 1 to 4 of 4

Thread: Include html page into Another Html Page

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Location
    India
    Posts
    9

    Post Include html page into Another Html Page

    My question is how to Include A html page into another html page without using Iframe?
    Share on Google+

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Apart from server-side solutions, the object element can be used. Don't expect it to work in older browsers.
    At least 98% of internet users' DNA is identical to that of chimpanzees
    Share on Google+

  3. #3
    Join Date
    Dec 2009
    Location
    Italy
    Posts
    82
    Why you do not muve to a solution like this one.... I did

    (1) make your index.html / change in index.php
    (2) make your base.html / change in base.php
    (3) make your menu.html / change in menu.php

    Then merge all inside your index.php adding this

    Code:
    <div class="menu">
      <?php include ("menu.php"); ?>
    </div>
    
    
    <div class="base">
      <?php include ("base.php"); ?>
    </div>

    Very easy to manage also later as you need to modify just a little to change all website.
    More by Corrado Prever... visit www.corradoprever.com
    Porfolio... visit www.500px.com
    Share on Google+

  4. #4
    Join Date
    Feb 2010
    Location
    India
    Posts
    9
    @ArtphotoasiA

    In php it is easily possible that i know.

    But how i can i do this using only .html extension...?.
    Share on Google+

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles