Continued from page 1
To see
site of
dead, click this black text.
Let's now life
CSS affairs and move on to
SSI - Server Side Includes.
Although in
real world, it depends on
guy/girl managing your server whether you can use
SSIs or not, assuming you can use them, you should know how and why to use them. First, why?
The use is somewhat akin to
external CSS. One change, and it is reflected through
entire web site, even if there are thousands of pages.
The ideal use is
navigation bar. Of course you know that every web site deserving to be called a web site must have a navigational system so that you can explore it in an amiable manner. On this web site - http://www.Bytesworth.com - if you can see those gray buttons on
right hand side, they help you navigate through hundreds of information pages.
To facilitate hurdle-less navigation, these buttons should be on every page, so that you can immediately click to
section of your desire, irrespective of where you are loafing around.
This is achieved by including
line
Where "nav.inc" is some file you deem fit to include. The extension "inc" does not have any technical implication in this case - you can have any extension. Whatever code is there in
included file, gets included in
HTML file. So wherever you want to use
include file's content, append
above line where you want
output to appear.
There is another way to include file such as , but for
time being, you can do without it.
Including a navigation bar is not
only utility of
SSI's. You can come up with complex ASP and CGI codes to include in your page, but that is beyond
scope of this tutorial, at least at
moment.
Another thing to keep in my mind while making pages that are destined to have included files in them: there extension should be SHTML rather than HTML or HTM. This extension informs
ignorant server that
file being loaded is going to use
SSIs.
In
next section, we are going to deal with a navigation bar, and how to use tables (remember them?) for it. We'll also learn how to define bulleted list.

Amrit Hallan is a freelance web designer. For all web site development and web promotion needs, you can get in touch with him at http://www.bytesworth.com. For more such articles, visit http://www.bytesworth.com/articles and http://www.bytesworth.com/learn You can subscribe to his newsletter [BYTESWORTH REACHOUT] on Web Designing Tips & Tricks by sending a blank email at Bytesworth-subscribe@topica.com