not necessarily a template but maybe only a part of a template that is a section of the whole document.
so header.htm might only be
HTML Code:
<div id="header"><img src="/images/logo.png" alt="logo" title=""></div>
The server takes all the included files and delivers them to the user agent (browser, bot etc) as one single entity.
The pages on my site are built from over 40 included files, there are 3 files plus 6 function libraries that are used for the navigation alone.
I have one file that has only the DTD in it so should I decide to change the whole site to a XHTML doctype I can with one edit.
The clever bit here of course it is scripted so changing that will also change all the end tags to /> where needed.
Even the stylesheet definitions are in an scripted include so I can remove, add in or use a different sheet for other sections of the site.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
|