HTP

htp on-line reference : BLOCK, /BLOCK

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]BLOCK NAME="blockname" [GLOBAL] [EXPAND]>
text block
<[ref]/BLOCK>

synopsis

BLOCK and /BLOCK are used to create block macros, which are similar in use to SET macros, but can be multi-line definitions.

Any text and formatting may be set inside the block. You can use any htp or user defined metatag including FILE INCLUDE. The metatags won't be expanded before the block is USEd except if you give the EXPAND parameter.

The block macro is dereferenced (expanded) with the USE tag or the '$' operator. See the notes on the USE tag on how to pass parameters to a block macro.

  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