Building a Web Site Part II
Course Introduction

Content about this topic

"Include" pages

An excerpt of a web page may be saved and then included as a part of many other documents.  Here is the principle:  Create a part of a web page that is to be used repeatedly.  Save it in your web. Then, "include" the file at the desired location in as many web pages as you wish!  A good example of this process is the navigation table and copyright tools at the bottom of each page in this course's web site.  

Steps to create and use an "include" page:

  • Create the code (such as for the sample footer shown below) in a new web page.
  • Save the file in your web using a memorable name (such as "mystyles.htm".)
  • A sample of what the entire contents of a document might look like is shown below:

Modules Overview | Top of Page | Extra Resources
Professional Development | Contact the Webmaster

Created & copyrighted (c) 2000 by Dr. Blake West - Please credit when linking to this site!  
Blue Valley USD 229, 15020 Metcalf, Overland Park, KS, 66283.


Steps to "include" the contents in another web page:
  • Go to a page in which the "include" HTM should be inserted.
  • Position the cursor at the desired location (such as at the foot of the page for a footer).
  • Click "Insert", choose "Component", and select "Include" page.
  • Here is the dialog box that will be displayed - Enter the name of the file (saved above).

  • Repeat the process for each page in the web.

Closing note:  Web pages that use features such as Style Sheets and "Include" pages are more likely to encounter problems when being viewed on older browsers.  Some of the features of Style Sheets are not completely standardized even on the most recent versions of Internet Explorer and Netscape.  But the ease of modifications to entire web sites these techniques provide outweighs the problems experienced on some older versions of the browsers.  

Take the quiz for session 2 at the BlackBoard.com site (in "course documents").

This site copyrighted (2005) by Dr. Blake West - Please credit when linking to the site!
Kansas NEA - 715 SW 10th Ave.  Topeka, KS  66612.