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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:26:06+00:00 2026-05-25T02:26:06+00:00

For exmaple, I have 3 pages with the same structure: banner main content footer

  • 0

For exmaple, I have 3 pages with the same structure:

   banner  
main content
   footer  

The banner and footer part are the same html, and main content are different static html .
I don’t want to copy the html code for banner and footer to each page which makes the refactor of code hard. And I don’t want back-end output methods. Thanks.

  • 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-25T02:26:07+00:00Added an answer on May 25, 2026 at 2:26 am

    I think the best answer so far was here:

    Use <?php include 'banner.html'; ?> in a .php file and write the rest of it in static HTML. – Wesley Murch Aug 17 at 7:35

    Technically, it’s back-end code. But, technically, if nothing goes wrong, you won’t have to bother back-end programmers. Keep your reusable static HTML in one place and call it when you need it.

    Otherwise, I can’t quite wrap my head around the idea of reusing server-side resources without calling on the back-end. It’s basically a paradox.

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

Sidebar

Related Questions

To start out, I have looked at the following pages and don't quite have
I have an html form (each form has different page, according to date), with
I have 6 tables with exactly the same structure, the field names go like
I have 3 href's that have a different structure and all of them have
I have a web page with basicly the following URL structure: www.example.com/main.php?userId=mattias.wolff www.example.com/definitions.php?userId=mattias.wolff www.example.com/tasks.php?userId=mattias.wolff
I mod_rewrite my pages very similar to how SO does it. I have www.example.com/users/login/
If I for example have <p> some long text </p> on my HTML page,
I have a page using something along the lines of <meta http-equiv=refresh content=0;url=http://example.com/ />
I have many links in my page. For example <a href=/promotions/download/schools/australia.aspx>Australia</a> Now I want
We have updated our site recently; the old one had around 300 pages... the

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.