| Purpose: Save pieces of code in a file to include across many pages of a web site Code: HTML The web server must be set to allow include files for this to work (some ISP allow this many do not). All you need to do is save a file, for example, a footer for all your web pages such as: © 1997-2001 curiouscat.com With the name filename.inc (using the inc extension lets you easily spot all your include files). And then just include the text found in the box below on any web page where you want the code included. Some ideas of sensible uses for the include file: headers, footers, banner ad code, navigation menus, basically code that repeats on many of your pages.
|