Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How to modify certain parts of a website all at once?

I'm trying to make a simple website. Just an informative guide, that's all. I'm going to be putting the HTML and CSS skills I recently learned in one of my classes to use it putting it together. However, one thing that I didn't learn was how to modify the same part of an entire website. I know with CSS it only takes one file to define the style of all the HTML files that link to it. I want to do something similar with, say, the navigation, header, and footer areas of my website. Is there a way to, say, have all the navigation links as part of one file then display that file in multiple HTML files. That way, if I wanted to modify the navigation area of the website, I would only need to edit one file rather than all of the files of the website to display the same navigation area.

I hope this made sense.

1 Answer

Relevance
  • 7 years ago
    Favorite Answer

    If I understand it correctly, you need to create separate files for header, footer, and other panels. Once done, you can call these files in the remaining pages by adding their references. In case you need to modify the content of any of these files, just do so and the changes will reflect in all the pages where these files are called. I hope the answer makes sense.

Still have questions? Get your answers by asking now.