1-26 Oracle Fusion Middleware PLSQL Web Toolkit Reference
Table 1–46 describes the properties of htp.headOpen, htp.headClose.
1.48 htp.header
This generates opening heading tags H1 to H6 and their corresponding closing tags H1 to H6.
Table 1–47 describes the properties of htp.header.
1.49 htp.htmlOpen, htp.htmlClose
This generates the HTML and HTML tags, which mark the beginning and the end of an HTML document.
Table 1–48 describes the properties of htp.htmlOpen, htp.htmlClose.
Table 1–46 htp.headOpen, htp.headClose
Properties Definitions
Syntax: htp.headOpen;
htf.headOpen return varchar2; htp.headClose;
htf.headClose return varchar2; Parameters:
None Generates:
HEAD HEAD
Table 1–47 htp.header
Properties Definitions
Syntax: htp.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; htf.header nsize, cheader, calign, cnowrap, cclear, cattributes return varchar2;
Parameters: nsize - the heading level. This is an integer between 1 and 6.
calign - the value for the ALIGN attribute. cheader - the text to display in the heading.
cnowrap - the value for the NOWRAP attribute. cclear - the value for the CLEAR attribute.
cattributes - other attributes to be included as-is in the tag. Generates:
Hnsize ALIGN=calign NOWRAP CLEAR=cclear cattributescheaderHnsize Example:
htp.header 1,Overview; produces:
H1OverviewH1
The htp and htf Packages 1-27
1.50 htp.img, htp.img2
This generates the IMG tag, which directs the browser to load an image onto the HTML page. The difference between these subprograms is that htp.img2 uses the
cusemap parameter.
Table 1–49 describes the properties of htp.img, htp.img2.
Table 1–48 htp.htmlOpen, htp.htmlClose
Properties Definitions
Syntax: htp.htmlOpen;
htf.htmlOpen return varchar2; htp.htmlClose;
htf.htmlClose return varchar2; Parameters:
None. Generates:
HTML HTML
Table 1–49 htp.img, htp.img2
Properties Definitions
Syntax: htp.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;
htf.img curl, calign, calt, cismap, cattributes return varchar2; htp.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;
htf.img2curl, calign, calt, cismap, cusemap, cattributes return varchar2;
Parameters: curl - the value for the SRC attribute.
calign - the value for the ALIGN attribute. calt - the value for the ALT attribute, which specifies alternative text to display if
the browser does not support images. cismap - if the value for this parameter is not NULL, the ISMAP attribute is added
to the tag. The attribute indicates that the image is an imagemap. cusemap - the value for the USEMAP attribute, which specifies a client-side image
map. cattributes - other attributes to be included as-is in the tag.
Generates: IMG SRC=curl ALIGN=calign ALT=calt ISMAP cattributes
IMG SRC=curl ALIGN=calign ALT=calt ISMAP USEMAP=cusemap cattributes
1-28 Oracle Fusion Middleware PLSQL Web Toolkit Reference
1.51 htp.isindex