htp on-line reference

Table of Contents
  HTP Tags
  Wish list

htp has been designed to break apart two components required to HTML files: design and content.

The design of your pages is best kept in a template file. This reference has a sample template, and is itself built with template files.

Page content should be held in separate files, each using FILE INCLUDE or TEMPLATE to point to a template file. By using global and project default files and keeping logical groupings of subject matter in separate directories, this dissection of design and content becomes quite natural.

Although htp does not enforce any file naming conventions, I've adopted the following file extensions for my own sanity:

  • .htp: Content file defining macros containing the textual content. The macros are expanded by the template file.
  • .htt: Template file describing page layout.
  • .def: Include file holding common macros and setting options.
  • .hti: Include file holding common content and layout parts.

source code
htp project
htp homepage
hosted by Logo
htp on-line reference /
Authors: Jim Nelson, Jochen Hoenicke, Michael Möller.
Maintainers: Jochen Hoenicke, Michael Möller.

Copyright © 1995-96 Jim Nelson.
Copyright © 2001-2002 Jochen Hoenicke, Michael Möller.
Permission to reproduce and distribute this hypertext document granted according to terms described in the License section.

last updated Mon Mar 18, 2002