HTP

htp on-line reference : <!---

Table of Contents
  Introduction
  License
  Tutorial
  Usage
  HTP Tags
    ALTTEXT
    BLOCK
    BLOCKDEF
    DEF
    FILE
    IF
    INC
    IMG
    IMAGEURL
    OPT
    OUTPUT
    QUOTE
    SET
    UNDEF
    UNSET
    USE, $
    WHILE
  > <!---
  History
  Wish list
  Bugs

syntax

  <[ref]alttext name="logo.gif" text="Company logo">

  this line: <[ref]img src="logo.gif">
  becomes this after processing: <[ref]img src="logo.gif" alt="Company logo">

  this line: <[ref]img src="../image/logo.gif">
  will also have an ALT attribute appended to it

  this line: <[ref]img src="logo.gif" alt="Click here for more information!">
  remains unchanged.

synopsis

This is a simple comment that is not included in the output. This is useful when commenting metatags, since the metatags do not appear the output either. Example:

  <[ref]blockdef name="section" option="title">
   <h1><[ref]use title></h1>
   <p class="section">
     <[ref]use block>
   </p>
  <[ref]/blockdef>

  <section title="My Section">
    This is a fancy section.
  </section>

Note that these comments should not include < or >, that is you should not use it to comment out htp code. For that purpose use something like this:

<[ref]IF [NOT] conditional>
    block #1
[
<ELSEIF [NOT] conditional>
    block #2
...
]
[
<ELSE>
    block #3
]
<[ref]/IF>

Make sure that the variable is never defined and xyz should be the reason why you don't want to include this block

  page source
  htp project
  htp homepage
hosted by
Sourceforge
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–2014 Jochen Hoenicke.
Permission to reproduce and distribute this hypertext document granted according to terms described in the License section.

last updated Sat May 16, 2015