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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T12:51:45+00:00 2026-06-01T12:51:45+00:00

I will create a webpage that has a sidebar, and the sidebar will have

  • 0

I will create a webpage that has a sidebar, and the sidebar will have links to other pages and stuff. The way I am coding, for each link on the sidebar, I have another HTML document. The sidebar links just link to another .html file, which contains the website template/layout whatever you want to call it. So I have an index.html that is the home page, then an about.html, etc. And for each of the html documents, the file contains the code for the layout of the entire website (the sidebar, footer, etc). So between the different links that the sidebar links to, the only difference is the content. So if I want to change the layout of my webpage (the color of the sidebar, for example) I will have to go to each HTML document and change it.

So my question is how are people supposed to go about doing this? I don’t think I am doing it correctly. Are you just supposed to have one file that contains the template?

  • 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-01T12:51:46+00:00Added an answer on June 1, 2026 at 12:51 pm

    Moneydev,

    What you are looking for is a templating system. If you want to stick with pure HTML you’ll have to use external tools to help you because it doesn’t have a built-in way to template. Dreamweaver has the capacity to allow you to define areas inside your webpages to indicate they are the same area, to be maintained “as one” throughout your entire website.

    The way that works though, is actually pretty low-tech. What it does is search through ALL the files in your Dreamweaver managed website and “search and replace” the section when you edit it from the “master location” which is determined when you set it up in the first place.

    Ali Hamze suggests using ‘includes’ inside PHP projects. That is the common approach for PHP, but I’m biased and much prefer ASP.NET’s answer to templating. It is a combination of “.master” (pages) and “.ascx” (controls) that allow you to template and re-use these in nested fashion. It is FAR beyond a simple “search and replace” (as done by Dreamweaver with your HTML) but would require you learn a new development environment.

    So what it boils down to, is you can stick with HTML which will be far simpler and allow you to focus on learning HTML/CSS and JavaScript. This is great to build a foundation for development… however, to really move into the “big leagues” I’d recommend choosing an IDE.

    As a long time Windows guy, I do favor ASP.NET via Microsoft Visual Studio and Microsoft SQL for the databases. That said, I’m the kind of person that can drink Coca-Cola, and still like Pepsi. If you’d like to look into PHP or Java, those are great options too. Here are places I’d go if I wanted a FREE and powerful IDE to get my web development life off to a healthy start:

    ASP.NET (Microsoft Visual Studio) — Read about ‘Master pages’ and ‘Control files’ for templating
    http://www.microsoft.com/express
    (I prefer Microsoft SQL (Express Edition is fine) for databases, though you CAN use mySQL if you like)

    PHP (Eclipse IDE for PHP) — Look into ‘includes’ for templating
    http://www.eclipse.org/projects/project.php?id=tools.pdt

    Java (Eclipse IDE for Java) — Look into ‘http://www.stringtemplate.org/’ for templating
    http://www.eclipse.org/downloads/packages/eclipse-ide-javascript-web-developers/indigosr2
    (for the above, if you want a database behind the scenes, check out mySQL)
    http://www.mysql.com/

    FYI: You might find Microsoft’s IDE the least intimidating, though PHP isn’t too tough to start with. Java may be challenging if you’re new.

    Happy coding!

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

Sidebar

Related Questions

I have create an IOS app. The app has MainViewController that will present/dismiss Modal
I have a webpage that has a button that sends a letter on the
I need to create a webpage for a family website that has a video
I am attempting to create a web page that will allow a user to
I have created a Webpage which will post as post method..not as get method.
I will create 5 tables, namely data1, data2, data3, data4 and data5 tables. Each
I need to find/create an application that will create employee web usage reports from
Is there a utility out there that will create VB.NET classes from a Dataset.xsd
I'm writing an application that will create difficult passwords for the user. The user
I am trying to create a block of photos on my webpage (Which has

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.