Includes, Easy To Edit.
Web design can become complicated at times, keeping your pages structured can seem almost impossible. When you have a website with more a few pages, making a major web design change can be really difficult. Changing every one of your pages one at a time can take hours, or even days depending on how big your web site is, and if you make a mistake or have to go back, it can cost you even more valuable time.
That is where includes come in, with an include you can edit just one or two pages to reflect changes across an entire web site. For example, say your web site has a menu at the top, a menu at the bottom and content all in between. If you wanted to change just the top menu without includes you would have to change it on every physical page. Try placing all the code from the top menu inside a file such as “Top_menu.shtml”, and all the code from the bottom menu in “Bottom_menu.shtml”, then you could write code inside your index file that looks like this:
<!–#include file=”Top_menu.shtml”–>
<p>All your lovely page content…</p>
<!–#include file=”Bottom_menu.shtml”–>
By using this code on all of your pages, it helps unclutter you web design. Now if you want to make a site-wide change involving just your header, you could just open up “Top_menu.shtml” and change that file, once thats done your changes will be made across all pages at once (all pages using the include code).
As you can see using includes in your web design makes for simple easy to edit web pages, why spend hours or days making one change across hundreds of pages when you can make one change on one page and have it reflected across all your pages.



