HTP

Source code: ref/creating.htp

Table of Contents
  htp.def
  macros.def
  htp.htt

<BLOCK body>

htp has been designed to break apart two components required to
HTML files: design and content.
<P>
The design of your pages is best kept in a <A HREF="file.html">template</A>
file.  This reference has a <A HREF="template.html">sample template</A>, and
is itself built with template files.
<P>
Page content should be held in separate files, each using <A HREF="file.html">
FILE INCLUDE or TEMPLATE</A> to point to a template file.  By using
<A HREF="default.html">global and project default files</A> and keeping
logical groupings of subject matter in separate directories, this dissection
of design and content becomes quite natural.
<P>
Although htp does not enforce any file naming conventions, I've adopted
the following file extensions for my own sanity:
<P>
<UL>
<LI><STRONG>.htp</STRONG>: Content file defining macros containing the
textual content.  The macros are expanded by the template file. </LI>
<LI><STRONG>.htt</STRONG>: Template file describing page layout. </LI>
<LI><STRONG>.def</STRONG>: Include file holding common macros and
setting options. </LI>
<LI><STRONG>.hti</STRONG>: Include file holding common content
and layout parts.  </LI>
</UL>

</BLOCK>

  page source
  htp project
  htp homepage
hosted by
SourceForge.net
HTML coding Powered by htp
htp on-line reference / http://htp.sourceforge.net/ref/
Authors: Jim Nelson, Jochen Hoenicke, Michael Möller.
Maintainers: Jochen Hoenicke.

Copyright © 1995-96 Jim Nelson.
Copyright © 2001-2003 Jochen Hoenicke.
Permission to reproduce and distribute this hypertext document granted according to terms described in the License section.

last updated Tue Feb 22, 2011