Server-side Starter Tutorial:Includes - Part 1 of 7

What is an include and why should I care?

Below is the prototypical HTML page:

<title>The Page</title>
<body bgcolor="white">
Hello World!

Now your pages may have an entirely different layout, but there's one basic truth about everybody's page ....

Every page has three parts

A good story has three parts - a beginning, a middle, and an end. Every web page has three parts as well - the 'stuff' before the page content; the content; and the 'stuff' after the content. And pretty well the 'stuff' above the content and the 'stuff' below the content are both the same for every page on your site.

Now when you do maintenance on your site, wouldn't it be nice to change one thing and have that change effected on every page? Welcome to the power of 'includes' ....

  next  »  

Site Links


Starter Tutorials