Basic HTML version of Foils prepared June 30 1996

Foil 124 Examples of the Use of HTP and HTF - II

From A Tutorial on Base Web Technologies CRPC Annual Meeting/NASA Langley/Trip to China -- May 14-17 June 10-13 1996 July 12-18 1996. by Geoffrey Fox


HTF (HyperText Functions) is the corresponding package which contains PL/SQL functions for generating HTML tags
i.e. it returns HTML string whereas HTP writes HTML
  • Analogous to printf(HTP) versus sprintf(HTF)
  • HTF functions are used only when the programmer needs to nest calls
  • For example, htp.url('http://www.npac.syr.edu',
  • htf.italic('NPAC Home Page'))
  • prints out the text:
  • <a href="http://www.npac.syr.edu">
  • <i>NPAC Home Page</i> </a>
Details about syntax and use of each procedure and function in HTP and HTF can be found from the handout



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Dec 14 1997