PL/SQL Packages and Types Reference 10g Release 1 (10.1) Part Number B10802-01 |
|
|
View PDF |
The HTF
(hypertext functions) and HTP
(hypertext procedures) packages generate HTML tags. For example, the HTF.ANCHOR
function generates the HTML anchor tag, <A>
.
This chapter contains the following topics:
For every HTF function that generates one or more HTML tags, there is a corresponding HTP procedure with identical parameters with the following exception:
The function versions do not directly generate output in your web page. Instead, they pass their output as return values to the statements that invoked them. Use these functions when you need to nest calls. To print the output of HTF functions, call the functions from within the HTF.PRINT
function. It then prints its parameters to the generated web page.
If you use values of the LONG data type in functions such as HTF.PRINT
, HTF.PRN
, HTF.PA
or OWA_UTIL
.CELLSPRINT
, only the first 32 K of the LONG
data is used. The LONG
data is bound to a VARCHAR2
data type in the function.
The following commands generate a simple HTML document:
CREATE OR REPLACE PROCEDURE hello AS BEGIN HTP.P (HTF.HTMLOPEN); -- generates <HTML> HTP.P (HTF.HEADOPEN); -- generates <HEAD> HTP.P (HTF.TITLE('Hello')); -- generates <TITLE>Hello</TITLE> HTP.P (HTF.HEADCLOSE); -- generates </HEAD> HTP.P (HTF.BODYOPEN); -- generates <BODY> HTP.P (HTF.HEADER(1, 'Hello')); -- generates <H1>Hello</H1> HTP.P (HTF.BODYCLOSE); -- generates </BODY> HTP.P (HTF.HTMLCLOSE); -- generates </HTML> END;
HTMLOPEN Function, HTMLCLOSE Function - generate <HTML>
and </HTML>
HEADOPEN Function, HEADCLOSE Function - generate <HEAD>
and </HEAD>
BODYOPEN Function, BODYCLOSE Function - generate <BODY>
and </BODY>
COMMENT Function - generates <!-- and -->
BASE Function - generates <BASE>
LINKREL Function - generates <LINK>
with the REL
attribute
LINKREV Function - generates <LINK>
with the REV
attribute
TITLE Function - generates <TITLE>
META Function - generates <META>
SCRIPT Function - generates <SCRIPT>
STYLE Function - generates <STYLE>
ISINDEX Function - generates <ISINDEX>
APPLETOPEN Function, APPLETCLOSE Function - generate <APPLET>
and </APPLET>
PARAM Function - generates <PARAM>
OLISTOPEN Function, OLISTCLOSE Function - generate <OL>
and </OL>
ULISTOPEN Function, ULISTCLOSE Function - generate <UL>
and </UL>
DLISTOPEN Function, DLISTCLOSE Function- generate <DL>
and </DL>
DLISTTERM Function - generates <DT>
DLISTDEF Function - generates <DD>
DIRLISTOPEN Function, DIRLISTCLOSE Function - generate <DIR>
and </DIR>
LISTHEADER Function - generates <LH>
LISTINGOPEN Function, LISTINGCLOSE Function - generate <LISTING>
and </LISTING>
MENULISTOPEN Function - generate <MENU>
and </MENU>
LISTITEM Function - generates <LI>
FORMOPEN Function, FORMCLOSE Function - generate <FORM>
and </FORM>
FORMCHECKBOX Function - generates <INPUT TYPE="CHECKBOX">
FORMHIDDEN Function - generates <INPUT TYPE="HIDDEN">
FORMIMAGE Function - generates <INPUT TYPE="IMAGE">
FORMPASSWORD Function - generates <INPUT TYPE="PASSWORD">
FORMRADIO Function - generates <INPUT TYPE="RADIO">
FORMSELECTOPEN Function, FORMSELECTCLOSE Function - generate <SELECT>
and </SELECT>
FORMSELECTOPTION Function - generates <OPTION>
FORMTEXT Function - generates <INPUT TYPE="TEXT">
FORMTEXTAREA Function - generate <TEXTAREA>
FORMTEXTAREAOPEN Function, FORMTEXTAREACLOSE Function - generate <TEXTAREA>
and </TEXTAREA>
FORMRESET Function - generates <INPUT TYPE="RESET">
FORMSUBMIT Function - generates <INPUT TYPE="SUBMIT">
TABLEOPEN Function, TABLECLOSE Function - generate <TABLE>
and </TABLE>
TABLECAPTION Function - generates <CAPTION>
TABLEROWOPEN Function, TABLEROWCLOSE Function - generate <TR>
and </TR>
TABLEHEADER Function - generates <TH>
TABLEDATA Function - generates <TD>
HR Function, LINE Function - generate <HR>
IMG Function, IMG2 Function - generate <IMG>
ANCHOR Function, ANCHOR2 Function - generate <A>
MAPOPEN Function, MAPCLOSE Function - generate <MAP>
and </MAP>
HEADER Function - generates heading tags (<H1>
to <H6>
)
PARA Function, PARAGRAPH Function - generate <P>
PRN Functions, PRINT Functions - generate any text that is passed in
PRN Functions, S Function - generate any text that is passed in; special characters in HTML are escaped
PREOPEN Function, PRECLOSE Function - generate and
</PRE>
BLOCKQUOTEOPEN Function, BLOCKQUOTECLOSE Function - generate <BLOCKQUOTE>
and </BLOCKQUOTE>
DIV Function - generates <DIV>
NL Function, BR Function - generate <BR>
NOBR Function - generates <NOBR>
WBR Function - generates <WBR>
PLAINTEXT Function - generates <PLAINTEXT>
ADDRESS Function - generates <ADDRESS>
MAILTO Function - generates <A>
with the MAILTO
attribute
AREA Function - generates <AREA>
BGSOUND Function - generates <BGSOUND>
BASEFONT Function - generates <BASEFONT>
BIG Function - generates <BIG>
BOLD Function - generates <B>
CENTER Function - generates <CENTER>
and </CENTER>
CENTEROPEN Function, CENTERCLOSE Function - generate <CENTER>
and </CENTER>
CITE Function - generates <CITE>
CODE Function - generates <CODE>
DFN Function - generates <DFN>
EM Function, EMPHASIS Function - generate <EM>
FONTOPEN Function, FONTCLOSE Function - generate <FONT>
and </FONT>
ITALIC Function - generates <I>
KBD Function, KEYBOARD Function - generate <KBD
> and </KBD>
S Function - generates <S>
SAMPLE Function - generates <SAMP>
SMALL Function - generates <SMALL>
STRIKE Function - generates <STRIKE>
STRONG Function - generates <STRONG>
SUB Function - generates <SUB>
SUP Function - generates <SUP>
TELETYPE Function - generates <TT>
UNDERLINE Function - generates <U>
VARIABLE Function - generates <VAR>
FRAME Function - generates <FRAME>
FRAMESETOPEN Function, FRAMESETCLOSE Function - generate <FRAMESET>
and </FRAMESET>
NOFRAMESOPEN Function, NOFRAMESCLOSE Function - generate <NOFRAMES>
and </NOFRAMES>
Subprogram | Description |
---|---|
Generates the | |
Generates the | |
Generates the | |
Closes the applet invocation with the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates This function generates the comment tags | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Replaces characters that have special meaning in HTML with their escape sequences | |
Replaces characters that have special meaning in HTML and HTTP with their escape sequences | |
Generates the | |
Generates the | |
formats column values inside an HTML table using the TABLEDATA Function | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates opening heading tags | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Creates a single entry field with a prompting text, such as "enter value," then sends that value to the URL of the page or program | |
Generates the | |
Generates the | |
Generates the <KBD> and </KBD> tags, which direct the browser to render the text in monospace font | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Adds attributes to the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the specified parameter as a string terminated with the | |
Generates the specified parameter as a string | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the <TABLE> tag which marks the beginning of an HTML table | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the | |
Generates the |
This function generates the <ADDRESS>
and </ADDRESS>
tags which specify the address, author and signature of a document.
HTF.ADDRESS ( cvalue IN VARCHAR2 cnowrap IN VARCHAR2 DEFAULT NULL cclear IN VARCHAR2 DEFAULT NULL cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<ADDRESS CLEAR="cclear" NOWRAP cattributes>cvalue</ADDRESS>
This function and the ANCHOR2 Function functions generate the <A>
and </A>
HTML tags which specify the source or destination of a hypertext link. The difference between these subprograms is that the
ANCHOR2 Function provides a target and therefore can be used for a frame.
HTF.ANCHOR ( curl IN VARCHAR2, ctext IN VARCHAR2, cname IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<A HREF="curl" NAME="cname" cattributes>ctext</A>
This tag accepts several attributes, but either HREF
or NAME
is required. HREF
specifies to where to link. NAME
allows this tag to be a target of a hypertext link.
This function and the ANCHOR Function generate the <A>
and </A>
HTML tags which specify the source or destination of a hypertext link. The difference between these subprograms is that this functions provides a target and therefore can be used for a frame.
HTF.ANCHOR2 ( curl IN VARCHAR2, ctext IN VARCHAR2, cname IN VARCHAR2 DEFAULT NULL, ctarget in varchar2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<A HREF="curl" NAME="cname" TARGET = "ctarget" cattributes>ctext</A>
This function closes the applet invocation with the </APPLET>
tag. You must first invoke the a Java applet using APPLETOPEN Function
HTF.APPLETCLOSE RETURN VARCHAR2;
This function generates the <APPLET>
tag which begins the invocation of a Java applet. You close the applet invocation with APPLETCLOSE Function which generates the </APPLET> tag.
HTF.APPLETOPEN ( ccode IN VARCHAR2, cheight IN NUMBER, cwidth IN NUMBER, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<APPLET CODE=ccode HEIGHT=cheight WIDTH=cwidth cattributes>
so that, for example,
HTF.appletopen('testclass.class', 100, 200, 'CODEBASE="/ows-applets"')
generates
<APPLET CODE="testclass.class" height=100 width=200 CODEBASE="/ows-applets">
cattributes
parameter to specify the CODEBASE
attribute since the PL/SQL cartridge does not know where to find the class files. The CODEBASE
attribute specifies the virtual path containing the class files.This function generates the <AREA>
tag, which defines a client-side image map. The <AREA>
tag defines areas within the image and destinations for the areas.
HTF.AREA ( ccoords IN VARCHAR2 cshape IN VARCHAR2 DEFAULT NULL, chref IN VARCHAR2 DEFAULT NULL, cnohref IN VARCHAR2 DEFAULT NULL, ctarget IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<AREA COORDS="ccoords" SHAPE="cshape" HREF="chref" NOHREF TARGET="ctarget" cattributes>
This function generates the <BASE>
tag which records the URL of the document.
HTF.BASE ( ctarget IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<BASE HREF="<current URL>" TARGET="ctarget" cattributes>
This function generates the <BASEFONT>
tag which specifies the base font size for a Web page.
HTF.BASEFONT ( nsize IN INTEGER) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
This function generates
<BASEFONT SIZE="nsize">
This function generates the <BGSOUND>
tag which includes audio for a Web page.
HTF.BGSOUND ( csrc IN VARCHAR2, cloop IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<BGSOUND SRC="csrc" LOOP="cloop" cattributes>
This function generates the <BIG>
and </BIG>
tags which direct the browser to render the text in a bigger font.
HTF.BIG ( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The the text that goes between the tags. |
|
The other attributes to be included as-is in the tag. |
This function generates
<BIG cattributes>ctext</BIG>
This function generates the </BLOCKQUOTE>
tag which mark the end of a section of quoted text. You mark the beginning of a section of text by means of the BLOCKQUOTEOPEN Function.
HTF.BLOCKQUOTECLOSE RETURN VARCHAR2;
This function generates
</BLOCKQUOTE>
This function generates the <BLOCKQUOTE>
tag, which marks the beginning of a section of quoted text. You mark the end of a section of text by means of the BLOCKQUOTECLOSE Function.
HTF.BLOCKQUOTEOPEN ( cnowrap IN VARCHAR2 DEFAULT NULL, cclear IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<BLOCKQUOTE CLEAR="cclear" NOWRAP cattributes>
This function generates the </BODY>
tag which marks the end of a body section of an HTML document.You mark the beginning of a body section by means of the BODYOPEN Function.
HTF.BODYCLOSE RETURN VARCHAR2;
This function generates
</BODY>
This function generates the <BODY>
tag which marks the beginning of the body section of an HTML document. You mark the end of a body section by means of the BODYCLOSE Function.
HTF.BODYOPEN ( cbackground IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<BODY background="cbackground" cattributes>
so that
HTF.BODYOPEN('/img/background.gif') RETURN VARCHAR2;
generates:
<BODY background="/img/background.gif">
This function generates the <B>
and </B>
tags which direct the browser to display the text in boldface.
HTF.BOLD ( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text that goes between the tags. |
|
The other attributes to be included as-is in the tag. |
This function generates
<B cattributes>ctext</B>
This function generates the <BR>
tag which begins a new line of text. It performs the same operation as the NL Function.
HTF.BR( cclear IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<BR CLEAR="cclear" cattributes>
This function generates the <CENTER>
and </CENTER>
tags which center a section of text within a Web page.
HTF.CENTER ( ctext IN VARCHAR2) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text that goes between the tags. |
This function generates
<CENTER>ctext</CENTER>
This function generates the </CENTER>
tag which marks the end of a section of text to center. You mark the beginning of a of a section of text to center by means of the CENTEROPEN Function.
HTF.CENTERCLOSE RETURN VARCHAR2;
This function generates
</CENTER>
This function generates the <CENTER>
tag which mark the beginning of a section of text to center.You mark the beginning of a of a section of text to center by means of the CENTERCLOSE Function.
HTF.CENTEROPEN RETURN VARCHAR2;
This function generates
<CENTER>
This function generates the <CITE>
and </CITE>
tags which direct the browser to render the text as a citation.
HTF.CITE ( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to render as citation. |
|
The other attributes to be included as-is in the tag. |
This function generates
<CITE cattributes>ctext</CITE>
This function generates the <CODE>
and </CODE>
tags which direct the browser to render the text in monospace font or however "code" is defined stylistically.
HTF.CODE ( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to render as code. |
|
The other attributes to be included as-is in the tag |
This function generates
<CODE cattributes>ctext</CODE>
This function generates the comment tags.
HTF.COMMENT ( ctext IN VARCHAR2) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The comment. |
This function generates
<!-- ctext -->
This function generates the <DFN>
and </DFN>
tags which direct the browser to mark the text in italics or however "definition" is described stylistically.
HTF.DFN ( ctext IN VARCHAR2) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to render in italics. |
This function generates
<DFN>ctext</DFN>
This function generates the </DIR>
tag which ends a directory list section. You start a directory list section with the DIRLISTOPEN Function.
HTF.DIRLISTCLOSE RETURN VARCHAR2;
A directory list presents a list of items that contains up to 20 characters. Items in this list are typically arranged in columns, 24 characters wide. Insert the <LI> tag directly or invoke the LISTITEM Function so that the <LI>
tag appears directly after the </DIR>
tag to define the items as a list.
This function generates
</DIR>
This function generates the <DIR>
which starts a directory list section. You end a directory list section with the DIRLISTCLOSE Function.
HTF.DIRLISTOPEN RETURN VARCHAR2;
A directory list presents a list of items that contains up to 20 characters. Items in this list are typically arranged in columns, 24 characters wide. Insert the <LI> tag directly or invoke the LISTITEM Function so that the <LI>
tag appears directly after the </DIR>
tag to define the items as a list.
This function generates
<DIR>
This function generates the <DIV>
tag which creates document divisions.
HTF.DIV ( calign IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<DIV ALIGN="calign" cattributes>This function generates the </DL>
tag which ends a definition list. You start a definition list by means of the DLISTOPEN Function.
HTF.DLISTCLOSE RETURN VARCHAR2;
A definition list looks like a glossary: it contains terms and definitions. Terms are inserted using the DLISTTERM Function and definitions are inserted using the DLISTDEF Function.
This function generates
</DL>
This function generates the <DL>
tag which starts a definition list. You end a definition list by means of the DLISTCLOSE Function.
HTF.DLISTOPEN ( cclear IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The other attributes to be included as-is in the tag. |
A definition list looks like a glossary: it contains terms and definitions. Terms are inserted using the DLISTTERM Function and definitions are inserted using the DLISTDEF Function.
This function generates
<DL CLEAR="cclear" cattributes>
This function generates the <DD>
tag, which inserts definitions of terms. Use this tag for a definition list <DL>
. Terms are tagged <DT>
and definitions are tagged <DD>
.
HTF.DLISTDEF ( ctext IN VARCHAR2 DEFAULT NULL, cclear IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The definition of the term. |
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<DD CLEAR="cclear" cattributes>ctext
This function generates the <DT>
tag which defines a term in a definition list <DL>
.
HTF.DLISTTERM ( ctext IN VARCHAR2 DEFAULT NULL, cclear IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The term. |
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<DT CLEAR="cclear" cattributes>ctext
This function generates the <EM>
and </EM>
tags, which define text to be emphasized. It performs the same task as the EMPHASIS Function.
HTF.EM( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to emphasize. |
|
The other attributes to be included as-is in the tag. |
This function generates
<EM cattributes>ctext</EM>
This function generates the <EM>
and </EM>
tags, which define text to be emphasized. It performs the same task as the EM Function.
HTF.EMPHASIS( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to emphasize. |
|
The other attributes to be included as-is in the tag. |
This function generates
<EM cattributes>ctext</EM>
This function replaces characters that have special meaning in HTML with their escape sequences. The following characters are converted:
This function performs the same operation as HTP. PRINTS Procedure and HTP. PS Procedure.
HTF.ESCAPE_SC( ctext IN VARCHAR2);
Parameter | Description |
---|---|
|
The text string to convert. |
This function replaces characters that have special meaning in HTML and HTTP with their escape sequences. The following characters are converted:
HTF.ESCAPE_URL( p_url IN VARCHAR2);
Parameter | Description |
---|---|
|
The string to convert. |
This function generates the</FONT>
tag which marks the end of a section of text with the specified font characteristics. You mark the beginning of the section text by means of the FONTOPEN Function.
HTF.FONTCLOSE RETURN VARCHAR2;
This function generates
</FONT>
This function generates the <FONT>
which marks the beginning of section of text with the specified font characteristics. You mark the end of the section text by means of the FONTCLOSE Function.
HTF.FONTOPEN( ccolor IN VARCHAR2 DEFAULT NULL, cface IN VARCHAR2 DEFAULT NULL, csize IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<FONT COLOR="ccolor" FACE="cface" SIZE="csize" cattributes>
This function formats column values inside an HTML table using the TABLEDATA Function. It allows for better control over the HTML tables.
HTF.FORMAT_CELL( columnValue IN VARCHAR2 format_numbers IN VARCHAR2 DEFAULT NULL RETURN VARCHAR2;
This function generates
<TD >columnValue</TD>
This function generates the <INPUT>
tag with TYPE="checkbox"
which inserts a checkbox element in a form. A checkbox element is a button that the user toggles on or off.
HTF.FORMCHECKBOX( cname IN VARCHAR2, cvalue IN VARCHAR2 DEFAULT 'ON', cchecked IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<INPUT TYPE="checkbox" NAME="cname" VALUE="cvalue" CHECKED cattributes>
This function generates the </FORM>
tag which marks the end of a form section in an HTML document.You mark the beginning of the form section by means of the FORMOPEN Function.
HTF.FORMCLOSE RETURN VARCHAR2;
This function generates
</FORM>
This function generates the <INPUT>
tag with TYPE="file"
which inserts a file form element. This is used for file uploading for a given page.
HTF.FORMFILE( cname IN VARCHAR2, caccept IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
A comma-delimited list of MIME types for upload. |
|
The other attributes to be included as-is in the tag. |
This function generates
<INPUT TYPE="file" NAME="cname" ACCEPT="caccept" cattributes>
This function generates the <INPUT>
tag with TYPE="hidden", which inserts a hidden form element. This element is not seen by the user. It submits additional values to the script.
HTF.FORMHIDDEN( cname IN VARCHAR2, cvalue IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<INPUT TYPE="hidden" NAME="cname" VALUE="cvalue" cattributes>
This function generates the <INPUT>
tag with TYPE="image"
which creates an image field that the user clicks to submit the form immediately. The coordinates of the selected point are measured in pixels, and returned (along with other contents of the form) in two name/value pairs. The x coordinate is submitted under the name of the field with .x appended, and the y coordinate with .y appended. Any VALUE
attribute is ignored.
HTF.FORMIMAGE( cname IN VARCHAR2, csrc IN VARCHAR2, calign IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<INPUT TYPE="image" NAME="cname" SRC="csrc" ALIGN="calign" cattributes>
This function generates the <FORM>
tag which marks the beginning of a form section in an HTML document. You mark the end of the form section by means of the FORMCLOSE Function.
HTF.FORMOPEN( curl IN VARCHAR2, cmethod IN VARCHAR2 DEFAULT 'POST', ctarget IN VARCHAR2 DEFAULT NULL, cenctype IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<FORM ACTION="curl" METHOD="cmethod" TARGET="ctarget" ENCTYPE="cenctype" cattributes>
This function generates the <INPUT>
tag with TYPE="password"
which creates a single-line text entry field. When the user enters text in the field, each character is represented by one asterisk. This is used for entering passwords.
HTF.FORMPASSWORD( cname IN VARCHAR2, csize IN VARCHAR2, cmaxlength IN VARCHAR2 DEFAULT NULL, cvalue IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<INPUT TYPE="password" NAME="cname" SIZE="csize" MAXLENGTH="cmaxlength" VALUE="cvalue" cattributes>
This function generates the <INPUT>
tag with TYPE="radio"
, which creates a radio button on the HTML form. Within a set of radio buttons, the user selects only one. Each radio button in the same set has the same name, but different values. The selected radio button generates a name/value pair.
HTF.FORMRADIO( cname IN VARCHAR2, cvalue IN VARCHAR2, cchecked IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<INPUT TYPE="radio" NAME="cname" VALUE="cvalue" CHECKED cattributes>
This function generates the <INPUT>
tag
with TYPE="reset"
which creates a button that, when selected, resets the form fields to their initial values.
HTF.FORMRESET( cvalue IN VARCHAR2 DEFAULT 'Reset', cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the VALUE attribute. |
|
The other attributes to be included as-is in the tag. |
This function generates
<INPUT TYPE="reset" VALUE="cvalue" cattributes>
This function generates the </SELECT>
tag which marks the end of a Select form element. A Select form element is a listbox where the user selects one or more values. You mark the beginning of Select form element by means of the FORMSELECTOPEN Function.The values are inserted using FORMSELECTOPTION Function.
HTF.FORMSELECTCLOSE RETURN VARCHAR2;
This function generates
</SELECT>
as shown under Examples of the FORMSELECTOPEN Function.
This function generates the <SELECT>
tags which creates a Select form element. A Select form element is a listbox where the user selects one or more values. You mark the end of Select form element by means of the FORMSELECTCLOSE Function.The values are inserted using FORMSELECTOPTION Function.
HTF.FORMSELECTOPEN( cname IN VARCHAR2, cprompt IN VARCHAR2 DEFAULT NULL, nsize IN INTEGER DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
cprompt <SELECT NAME="cname" SIZE="nsize" cattributes> </SELECT>
so that
HTF.FORMSELECTOPEN('greatest_player'; 'Pick the greatest player:'); HTF.FORMSELECTOPTION('Messier'); HTF.FORMSELECTOPTION('Howe'); HTF.FORMSELECTOPTION('Gretzky');. HTF.FORMSELECTCLOSE;
generates
Pick the greatest player: <SELECT NAME="greatest_player"> <OPTION>Messier <OPTION>Howe <OPTION>Gretzky </SELECT>
This function generates the <OPTION>
tag which represents one choice in a Select element.
HTF.FORMSELECTOPTION( cvalue IN VARCHAR2, cselected IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<OPTION SELECTED cattributes>cvalue
as shown under Examples of the FORMSELECTOPEN Function.
This function generates the <INPUT>
tag with TYPE="submit"
which creates a button that, when clicked, submits the form. If the button has a NAME
attribute, the button contributes a name/value pair to the submitted data.
HTF.FORMSUBMIT( cname IN VARCHAR2 DEFAULT NULL, cvalue IN VARCHAR2 DEFAULT 'Submit', cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the NAME attribute. |
|
The value for the VALUE attribute. |
|
The other attributes to be included as-is in the tag. |
This function generates
<INPUT TYPE="submit" NAME="cname" VALUE="cvalue" cattributes>
This function generates the <INPUT>
tag with TYPE="text"
, which creates a field for a single line of text.
HTF.FORMTEXT( cname IN VARCHAR2, csize IN VARCHAR2 DEFAULT NULL, cmaxlength IN VARCHAR2 DEFAULT NULL, cvalue IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<INPUT TYPE="text" NAME="cname" SIZE="csize" MAXLENGTH="cmaxlength" VALUE="cvalue" cattributes>
This function generates the <TEXTAREA>
tag, which creates a text field that has no predefined text in the text area. This field enables entering several lines of text. The same operation is performed by the FORMTEXTAREA2 Function which in addition has the cwrap
parameter that lets you specify a wrap style.
HTF.FORMTEXTAREA( cname IN VARCHAR2, nrows IN INTEGER, ncolumns IN INTEGER, calign IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<TEXTAREA NAME="cname" ROWS="nrows" COLS="ncolumns" ALIGN="calign" cattributes></TEXTAREA>
This function generates the <TEXTAREA>
tag, which creates a text field that has no predefined text in the text area. This field enables entering several lines of text.The same operation is performed by the FORMTEXTAREA Function except that in that case you cannot specify a wrap style.
HTF.FORMTEXTAREA2( cname IN VARCHAR2, nrows IN INTEGER, ncolumns IN INTEGER, calign IN VARCHAR2 DEFAULT NULL, cwrap IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<TEXTAREA NAME="cname" ROWS="nrows" COLS="ncolumns" ALIGN="calign" WRAP="cwrap" cattributes></TEXTAREA>
This function generates the </TEXTAREA>
tag which ends a text area form element. You open a text area element by means of eitherFORMTEXTAREAOPEN Function or FORMTEXTAREAOPEN2 Function.
HTF.FORMTEXTAREACLOSE RETURN VARCHAR2;
This function generates
</TEXTAREA>
This function generates the <TEXTAREA>
which marks the beginning of a text area form element. The same operation is performed by the FORMTEXTAREAOPEN2 Function which in addition has the cwrap
parameter that lets you specify a wrap style. You mark the end of a text area form element by means of the FORMTEXTAREACLOSE Function.
HTF.FORMTEXTAREAOPEN( cname IN VARCHAR2, nrows IN INTEGER, ncolumns IN INTEGER, calign IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<TEXTAREA NAME="cname" ROWS="nrows" COLS="ncolumns" ALIGN="calign" cattributes>
This function generates the <TEXTAREA>
which marks the beginning of a text area form element. The same operation is performed by the FORMTEXTAREAOPEN Function except that in that case you cannot specify a wrap style. You mark the end of a text area form element by means of the FORMTEXTAREACLOSE Function.
HTF.FORMTEXTAREAOPEN2( cname IN VARCHAR2, nrows IN INTEGER, ncolumns IN INTEGER, calign IN VARCHAR2 DEFAULT NULL, cwrap IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<TEXTAREA NAME="cname" ROWS="nrows" COLS="ncolumns" ALIGN="calign" WRAP = "cwrap" cattributes>
This function generates the <FRAME>
tag which defines the characteristics of a frame created by a <FRAMESET>
tag.
HTF.FRAME( csrc IN VARCHAR2, cname IN VARCHAR2 DEFAULT NULL, cmarginwidth IN VARCHAR2 DEFAULT NULL, cmarginheight IN VARCHAR2 DEFAULT NULL, cscrolling IN VARCHAR2 DEFAULT NULL, cnoresize IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<FRAME SRC="csrc" NAME="cname" MARGINWIDTH="cmarginwidth" MARGINHEIGHT="cmarginheight" SCROLLING="cscrolling" NORESIZE cattributes>
This function generates the </FRAMESET>
tag which ends a frameset section. You mark the beginning of a frameset section by means of the FRAMESETOPEN Function.
HTF.FRAMESETCLOSE RETURN VARCHAR2;
This function generates
</FRAMESET>
This function generates the <FRAMESET>
tag which define a frameset section. You mark the end of a frameset section by means of the FRAMESETCLOSE Function.
HTF.FRAMESETOPEN( crows IN VARCHAR2 DEFAULT NULL, ccols IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the ROWS attribute. |
|
The value for the COLS attribute. |
|
The other attributes to be included as-is in the tag. |
This function generates
<FRAMESET ROWS="crows" COLS="ccols" cattributes>
This function generates the </HEAD>
tag which marks the end of an HTML document head section. You mark the beginning of an HTML document head section by means of the HEADOPEN Function.
HTF.HEADCLOSE RETURN VARCHAR2;
This function generates
</HEAD>This function generates the <HEAD>
tag which marks the beginning of the HTML document head section. You mark the end of an HTML document head section by means of the HEADCLOSE Function.
HTF.HEADOPEN RETURN VARCHAR2;
This function generates
<HEAD>
This function generates opening heading tags (<H1>
to <H6>)
and their corresponding closing tags (</H1>
to </H6>)
.
HTF.HEADER( nsize IN INTEGER, cheader IN VARCHAR2, calign IN VARCHAR2 DEFAULT NULL, cnowrap IN VARCHAR2 DEFAULT NULL, cclear IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
HTF.header (1,'Overview') RETURN VARCHAR2;
produces:
<H1>Overview</H1>
This function generates the <HR>
tag, which generates a line in the HTML document.This subprogram performs the same operation as the LINE Function.
HTF.HR( cclear IN VARCHAR2 DEFAULT NULL, csrc IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<HR CLEAR="cclear" SRC="csrc" cattributes>
This function generates the </HTML>
tag which marks the end of an HTML document. You use the HTMLOPEN Function to mark the beginning of an HTML document.
HTF.HTMLCLOSE RETURN VARCHAR2;
This function generates
</HTML>
This function generates the <HTML> tag which marks the beginning of an HTML document. You use the HTMLCLOSE Function to mark the end of the an HTML document.
HTF.HTMLOPEN RETURN VARCHAR2;
This function generates
<HTML>
This function generates the <IMG>
tag which directs the browser to load an image onto the HTML page. The IMG2 Function performs the same operation but additionally uses the cusemap
parameter.
HTF.IMG( curl IN VARCHAR2 DEFAULT NULL, calign IN VARCHAR2 DEFAULT NULL, calt IN VARCHAR2 DEFAULT NULL, cismap IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<IMG SRC="curl" ALIGN="calign" ALT="calt" ISMAP cattributes>
This function generates the <IMG> tag, which directs the browser to load an image onto the HTML page. The IMG Function performs the same operation but does not use the cusemap
parameter.
HTF.IMG2( curl IN VARCHAR2 DEFAULT NULL, calign IN VARCHAR2 DEFAULT NULL, calt IN VARCHAR2 DEFAULT NULL, cismap IN VARCHAR2 DEFAULT NULL, cusemap IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<IMG SRC="curl" ALIGN="calign" ALT="calt" ISMAP USEMAP="cusemap" cattributes>
This function creates a single entry field with a prompting text, such as "enter value," then sends that value to the URL of the page or program.
HTF.ISINDEX( cprompt IN VARCHAR2 DEFAULT NULL, curl IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The value for the HREF attribute. |
This function generates
<ISINDEX PROMPT="cprompt" HREF="curl">
This function generates the <I>
and </I>
tags which direct the browser to render the text in italics.
HTF.ITALIC( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to be rendered in italics. |
|
The other attributes to be included as-is in the tag. |
This function generates
<I cattributes>ctext</I>
This function generates the <KBD>
and </KBD>
tags which direct the browser to render the text in monospace font. This subprogram performs the same operation as the KEYBOARD Function.
HTF.KBD( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to be rendered in monospace. |
|
The other attributes to be included as-is in the tag. |
This function generates
<KBD cattributes>ctext</KBD>
This function generates the <KBD>
and </KBD>
tags, which direct the browser to render the text in monospace font. This subprogram performs the same operation as the KBD Function.
HTF.KEYBOARD( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to be rendered in monospace. |
|
The other attributes to be included as-is in the tag. |
This function generates
<KBD cattributes>ctext</KBD>
This function generates the <HR>
tag, which generates a line in the HTML document. This subprogram performs the same operation as the HR Function.
HTF.LINE( cclear IN VARCHAR2 DEFAULT NULL, csrc IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<HR CLEAR="cclear" SRC="csrc" cattributes>
This function generates the <LINK>
tag with the REL
attribute which delineates the relationship described by the hypertext link from the anchor to the target. This is only used when the HREF
attribute is present. This is the opposite of LINKREV Function. This tag indicates a relationship between documents but does not create a link. To create a link, use the ANCHOR Function.
HTF.LINKREL( crel IN VARCHAR2, curl IN VARCHAR2, ctitle IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The value for the |
|
The value for the |
This function generates
<LINK REL="crel" HREF="curl" TITLE="ctitle">
This function generates the <LINK>
tag with the REV
attribute which delineates the relationship described by the hypertext link from the target to the anchor. This is the opposite of the LINKREL Function. This tag indicates a relationship between documents, but does not create a link. To create a link, use the ANCHOR Function.
HTF.LINKREV( crev IN VARCHAR2, curl IN VARCHAR2, ctitle IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The value for the |
|
The value for the |
This function generates
<LINK REV="crev" HREF="curl" TITLE="ctitle">
This function generates the <LH>
and </LH>
tags which print an HTML tag at the beginning of the list.
HTF.LISTHEADER( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to place between |
|
The other attributes to be included as-is in the tag. |
This function generates
<LH cattributes>ctext</LH>
This function generates the </LISTING>
tags which marks the end of a section of fixed-width text in the body of an HTML page. To mark the beginning of a section of fixed-width text in the body of an HTML page, use the LISTINGOPEN Function.
HTF.LISTINGCLOSE RETURN VARCHAR2;
This function generates
</LISTING>
This function generates the <LISTING>
tag which marks the beginning of a section of fixed-width text in the body of an HTML page. To mark the end of a section of fixed-width text in the body of an HTML page, use the LISTINGCLOSE Function.
HTF.LISTINGOPEN RETURN VARCHAR2;
This function generates
<LISTING>
This function generates the <LI>
tag, which indicates a list item.
HTF.LISTITEM( ctext IN VARCHAR2 DEFAULT NULL, cclear IN VARCHAR2 DEFAULT NULL, cdingbat IN VARCHAR2 DEFAULT NULL, csrc IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<LI CLEAR="cclear" DINGBAT="cdingbat" SRC="csrc" cattributes>ctext
This function generates the <A>
tag with the HREF
set to 'mailto' prepended to the mail address argument.
HTF.MAILTO( caddress IN VARCHAR2, ctext IN VARCHAR2, cname IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<A HREF="mailto:caddress" NAME="cname" cattributes>ctext</A>
so that
HTF.mailto('pres@white_house.gov','Send Email to the President');
generates:
<A HREF="mailto:pres@white_house.gov">Send Email to the President</A>
This function generates the </MAP>
tag which marks the end of a set of regions in a client-side image map. To mark the beginning of a set of regions in a client-side image map, use the MAPOPEN Function.
HTF.MAPCLOSE RETURN VARCHAR2;
This function generates
</MAP>
This function generates the <MAP>
tag which mark the beginning of a set of regions in a client-side image map. To mark the end of a set of regions in a client-side image map, use the MAPCLOSE Function.
HTF.MAPOPEN( cname IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the NAME attribute. |
|
The other attributes to be included as-is in the tag. |
This function generates
<MAP NAME="cname" cattributes>
This function generates the </MENU>
tag which ends a list that presents one line for each item. To begin a list of this kind, use the MENULISTOPEN Function. The items in the list appear more compact than an unordered list. The LISTITEM Function defines the list items in a menu list.
HTF.MENULISTCLOSE RETURN VARCHAR2;
This function generates
</MENU>
This function generates the <MENU>
tag which create a list that presents one line for each item. To end a list of this kind, use the MENULISTCLOSE Function.The items in the list appear more compact than an unordered list. The LISTITEM Function defines the list items in a menu list.
HTF.MENULISTOPEN RETURN VARCHAR2;
This function generates
<MENU>
This function generates the <META>
tag, which embeds meta-information about the document and also specifies values for HTTP headers. For example, you can specify the expiration date, keywords, and author name.
HTF.META( chttp_equiv IN VARCHAR2, cname IN VARCHAR2, ccontent IN VARCHAR2) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the CHTTP_EQUIV attribute. |
|
The value for the NAME attribute. |
|
The value for the CONTENT attribute. |
This function generates
<META HTTP-EQUIV="chttp_equiv" NAME ="cname" CONTENT="ccontent">
so that
HTF.meta ('Refresh', NULL, 120);
generates
<META HTTP-EQUIV="Refresh" CONTENT=120>
On some Web browsers, this causes the current URL to be reloaded automatically every 120 seconds.
This function generates the <BR>
tag which begins a new line of text. It performs the same operation as the BR Function.
HTF.NL( cclear IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<BR CLEAR="cclear" cattributes>
This function generates the <NOBR>
and </NOBR>
tags which turn off line-breaking in a section of text.
HTF.NOBR( ctext IN VARCHAR2) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text that is to be rendered on one line. |
This function generates
<NOBR>ctext</NOBR>
This function generates the </NOFRAMES>
tag which marks the end of a no-frames section. To mark the beginning of a no-frames section, use the FRAMESETOPEN Function. See also FRAME Function, FRAMESETOPEN Function and FRAMESETCLOSE Function.
HTF.NOFRAMESCLOSE RETURN VARCHAR2;
This function generates
</NOFRAMES>
This function generates the <NOFRAMES>
tag which mark the beginning of a no-frames section. To mark the end of a no-frames section, use the FRAMESETCLOSE Function. See also FRAME Function, FRAMESETOPEN Function and FRAMESETCLOSE Function.
HTF.NOFRAMESOPEN RETURN VARCHAR2;
This function generates
<NOFRAMES>
This function generates the </OL>
tag which defines the end of an ordered list. An ordered list presents a list of numbered items. To mark the beginning of a list of this kind, use the OLISTOPEN Function. Numbered items are added using LISTITEM Function.
HTF.OLISTCLOSE RETURN VARCHAR2;
This function generates
</OL>
This function generates the <OL>
tag which marks the beginning of an ordered list. An ordered list presents a list of numbered items. To mark the end of a list of this kind, use the OLISTCLOSE Function. Numbered items are added using LISTITEM Function.
HTF.OLISTOPEN( cclear IN VARCHAR2 DEFAULT NULL, cwrap IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<OL CLEAR="cclear" WRAP="cwrap" cattributes>
This function generates the <P>
tag which indicates that the text that comes after the tag is to be formatted as a paragraph. You can add attributes to the tag by means of the PARAGRAPH Function.
HTF.PARA RETURN VARCHAR2;
This function generates
<P>
You can use this function to add attributes to the <P>
tag created by the PARA Function.
HTF.PARAGRAPH( calign IN VARCHAR2 DEFAULT NULL, cnowrap IN VARCHAR2 DEFAULT NULL, cclear IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<P ALIGN="calign" NOWRAP CLEAR="cclear" cattributes>
This function generates the <PARAM>
tag which specifies parameter values for Java applets. The values can reference HTML variables. To invoke a Java applet from a Web page, use APPLETOPEN Function to begin the invocation. Use one PARAM Function for each desired name-value pair, and use APPLETCLOSE Function to end the applet invocation.
HTF.PARAM( cname IN VARCHAR2 cvalue IN VARCHAR2) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The value for the |
This function generates
<PARAM NAME=cname VALUE="cvalue">
This function generates the <PLAINTEXT>
and </PLAINTEXT>
tags which direct the browser to render the text they surround in fixed-width type.
HTF.PLAINTEXT( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to be rendered in fixed-width font. |
|
The other attributes to be included as-is in the tag. |
This function generates
<PLAINTEXT cattributes>ctext</PLAINTEXT>
This function generates the </PRE>
tag which marks the end of a section of preformatted text in the body of the HTML page. To mark the beginning of a section of preformatted text in the body of the HTML page, use the PREOPEN Function.
HTF.PRECLOSE RETURN VARCHAR2;
This function generates
</PRE>
This function generates the tag which marks the beginning of a section of preformatted text in the body of the HTML page. To mark the end of a section of preformatted text in the body of the HTML page, use the PRECLOSE Function.
HTF.PREOPEN( cclear IN VARCHAR2 DEFAULT NULL, cwidth IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The value for the |
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<PRE CLEAR="cclear" WIDTH="cwidth" cattributes>
These functions generate the specified parameter as a string terminated with the \n
newline character. The PRN Functions performs the same operation but does not terminate with a newline character.
HTF.PRINT ( cbuf IN VARCHAR2) RETURN VARCHAR2; HTF.PRINT ( dbuf IN DATE) RETURN VARCHAR2; HTF.PRINT ( nbuf IN NUMBER) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The string to generate terminated by a newline. |
|
The string to generate terminated by a newline. |
|
The string to generate terminated by a newline. |
\n
character is not the same as <BR>
. The \n
character formats the HTML source but it does not affect how the browser renders the HTML source. Use <BR>
to control how the browser renders the HTML source.These functions generate the specified parameter as a string. Unlike the PRINT Functions the string is not terminated with the \n
newline character.
HTF.PRN ( cbuf IN VARCHAR2) RETURN VARCHAR2; HTF.PRN ( dbuf IN DATE) RETURN VARCHAR2; HTF.PRN ( nbuf IN NUMBER) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The string to generate (not terminated by a newline). |
|
The string to generate (not terminated by a newline). |
|
The string to generate (not terminated by a newline). |
These functions do not have function equivalents.
This function generates the <S>
and </S>
tags which direct the browser to render the text they surround in strikethrough type. This performs the same operation as STRIKE Function.
HTF.S ( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to be rendered in strikethrough type. |
|
The other attributes to be included as-is in the tag. |
This function generates
<S cattributes>ctext</S>
This function generates the <SAMP>
and </SAMP>
tags which direct the browser to render the text they surround in monospace font or however "sample" is defined stylistically.
HTF.SAMPLE ( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to be rendered in monospace font. |
|
The other attributes to be included as-is in the tag. |
This function generates
<SAMP cattributes>ctext</SAMP>
This function generates the <SCRIPT>
and </SCRIPT>
tags which contain a script written in languages such as JavaScript and VBscript.
HTF.SCRIPT ( cscript IN VARCHAR2, clanguage IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<SCRIPT LANGUAGE=clanguage>cscript</SCRIPT>
so that
HTF.script ('Erupting_Volcano', 'Javascript');
generates
<SCRIPT LANGUAGE=Javascript>"script text here"</SCRIPT>
This causes the browser to run the script enclosed in the tags.
This function generates the <SMALL>
and </SMALL>
tags, which direct the browser to render the text they surround using a small font.
HTF.SMALL ( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to be rendered in small font. |
|
The other attributes to be included as-is in the tag. |
This function generates
<SMALL cattributes>ctext</SMALL>
This function generates the <STRIKE>
and </STRIKE>
tags which direct the browser to render the text they surround in strikethrough type. This performs the same operation as S Function.
STRIKE ( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to be rendered in strikethrough type. |
|
The other attributes to be included as-is in the tag. |
This function generates
<STRIKE cattributes>ctext</STRIKE>
This function generates the <STRONG>
and </STRONG>
tags which direct the browser to render the text they surround in bold or however "strong" is defined.
HTF.STRONG( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to be emphasized. |
|
The other attributes to be included as-is in the tag. |
This function generates
<STRONG cattributes>ctext</STRONG>
This function generates the <STYLE>
and </STYLE>
tags which include a style sheet in a Web page. You can get more information about style sheets at http://www.w3.org.
This feature is not compatible with browsers that support only HTML versions 2.0 or earlier. Such browsers will ignore this tag.
HTF.STYLE( cstyle IN VARCHAR2) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The the style information to include. |
This function generates
<STYLE>cstyle</STYLE>
This function generates the <SUB>
and </SUB>
tags which direct the browser to render the text they surround as subscript.
HTF.SUB( ctext IN VARCHAR2, calign in VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to render in subscript. |
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<SUB ALIGN="calign" cattributes>ctext</SUB>
This function generates the <SUP>
and </SUP>
tags which direct the browser to render the text they surround as superscript.
HTF.SUP( ctext IN VARCHAR2, calign in VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to render in superscript. |
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<SUP ALIGN="calign" cattributes>ctext</SUP>
This function generates the <CAPTION>
and </CAPTION>
tags which place a caption in an HTML table.
HTF.TABLECAPTION( ccaption IN VARCHAR2, calign in VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text for the caption. |
|
The value for the |
|
The other attributes to be included as-is in the tag. |
This function generates
<CAPTION ALIGN="calign" cattributes>ccaption</CAPTION>
This function generates the <TD>
and </TD>
tags which insert data into a cell of an HTML table.
HTF.TABLEDATA( cvalue IN VARCHAR2 DEFAULT NULL, calign IN VARCHAR2 DEFAULT NULL, cdp IN VARCHAR2 DEFAULT NULL, cnowrap IN VARCHAR2 DEFAULT NULL, crowspan IN VARCHAR2 DEFAULT NULL, ccolspan IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<TD ALIGN="calign" DP="cdp" ROWSPAN="crowspan" COLSPAN="ccolspan" NOWRAP cattributes>cvalue</TD>
This function generates the <TH>
and </TH>
tags which insert a header cell in an HTML table. The <TH>
tag is similar to the <TD>
tag except that the text in this case the rows are usually rendered in bold type.
HTF.TABLEHEADER( cvalue IN VARCHAR2 DEFAULT NULL, calign IN VARCHAR2 DEFAULT NULL, cdp IN VARCHAR2 DEFAULT NULL, cnowrap IN VARCHAR2 DEFAULT NULL, crowspan IN VARCHAR2 DEFAULT NULL, ccolspan IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<TH ALIGN="calign" DP="cdp" ROWSPAN="crowspan" COLSPAN="ccolspan" NOWRAP cattributes>cvalue</TH>
This function generates the </TABLE>
tag which marks the end of an HTML table. To define the beginning of an HTML table, use the TABLEOPEN Function.
HTF.TABLECLOSE RETURN VARCHAR2;
This function generates
</TABLE>
This function generates the <TABLE> tag which marks the beginning of an HTML table. To define the end of an HTML table, use the TABLECLOSE Function.
HTF.TABLEOPEN( cborder IN VARCHAR2 DEFAULT NULL calign IN VARCHAR2 DEFAULT NULL, cnowrap IN VARCHAR2 DEFAULT NULL, cclear IN VARCHAR2 DEFAULT NULL cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<TABLE "cborder" NOWRAP ALIGN="calign" CLEAR="cclear" cattributes>
This function generates the </TR>
tag which marks the end of a new row in an HTML table. To mark the beginning of a new row, use the TABLEROWOPEN Function.
HTF.TABLEROWCLOSE RETURN VARCHAR2;
This function generates
</TABLE>
This function generates the <TR>
tag which marks the beginning of a new row in an HTML table. To mark the end of a new row, use the TABLEROWCLOSE Function.
HTF.TABLEROWOPEN( calign IN VARCHAR2 DEFAULT NULL, cvalign IN VARCHAR2 DEFAULT NULL, cdp IN VARCHAR2 DEFAULT NULL, cnowrap IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<<TR ALIGN="calign" VALIGN="cvalign" DP="cdp" NOWRAP catttributes>
This function generates the <TT>
and </TT>
tags which direct the browser to render the text they surround in a fixed width typewriter font, for example, the courier font.
HTF.TELETYPE( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to render in a fixed width typewriter font. |
|
The other attributes to be included as-is in the tag. |
This function generates
<TT cattributes>ctext</TT>This function generates the <TITLE>
and </TITLE>
tags which specify the text to display in the titlebar of the browser window.
HTF.TITLE( ctitle IN VARCHAR2) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to display in the titlebar of the browser window. |
This function generates
<TITLE>ctitle</TITLE>
This function generates the </UL>
tag which marks the end of an unordered list. An unordered list presents items with bullets. To mark the beginning of an unordered list, use the ULISTOPEN Function. Add list items with LISTITEM Function.
HTF.ULISTCLOSE RETURN VARCHAR2;
This function generates
</UL>
This function generates the <UL>
tag which marks the beginning of an unordered list. An unordered list presents items with bullets. To mark the end of an unordered list, use the ULISTCLOSE Function. Add list items with LISTITEM Function.
HTF.ULISTOPEN( cclear IN VARCHAR2 DEFAULT NULL, cwrap IN VARCHAR2 DEFAULT NULL, cdingbat IN VARCHAR2 DEFAULT NULL, csrc IN VARCHAR2 DEFAULT NULL, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
This function generates
<UL CLEAR="cclear" WRAP="cwrap" DINGBAT="cdingbat" SRC="csrc" cattributes>
This function generates the <U>
and </U>
tags, which direct the browser to render the text they surround with an underline.
HTF.UNDERLINE( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to render with an underline. |
|
The other attributes to be included as-is in the tag. |
This function generates
<U cattributes>ctext</U>
This function generates the <VAR>
and </VAR>
tags which direct the browser to render the text they surround in italics or however "variable" is defined stylistically.
HTF.VARIABLE( ctext IN VARCHAR2, cattributes IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
Parameter | Description |
---|---|
|
The text to render in italics. |
|
The other attributes to be included as-is in the tag. |
This function generates
<VAR cattributes>ctext</VAR>
This function generates the <WBR>
tag, which inserts a soft line break within a section of NOBR
text.
HTF.WBR RETURN VARCHAR2;
This function generates
<WBR>