htp on-line reference : BLOCKDEF, /BLOCKDEF |
|
syntax<BLOCKDEF NAME="tagname" [OPTION="option1 [option2 ...]"] [GLOBAL] [EXPAND]> </BLOCKDEF>
synopsisBLOCKDEF creates block metatags, which is a fancy way of saying it creates new block tags. A block tag is a tag that takes a whole block as implicit parameter. This block is surounded by the start and end tag. The contents of this block are automatically stored in the block macro named BLOCK.For example:
<BLOCKDEF NAME="SECTION" OPTION="TITLE">
<h1><USE TITLE></h1>
<P class="section">
<USE BLOCK>
<P>
</BLOCKDEF>
<SECTION TITLE="My Section">
This is a fancy section.
</SECTION>
A more thorough discussion and more elaborate examples are discussed in the metatag section.
|
|
|
htp on-line reference / http://htp.sourceforge.net/ref/
Authors: Jim Nelson, Jochen Hoenicke, Michael Möller. Maintainers: Jochen Hoenicke, Michael Möller.
Copyright © 1995-96 Jim Nelson. last updated Mon May 27, 2002 |
|