Oracle WebServer User's Guide

Contents Index Home Previous Next

Character Format Tags

The character format tags are used to specify or alter the appearance of the marked text. Character format tags have opening and closing elements, and affect only the text that they surround.

Character format tags give hints to the browser as to how a character or character string should appear, but each browser determines its actual appearance. Essentially, they place text into categories such that all text in a given category is given the same special treatment, but the browser determines what that treatment is. For example, the HTML string <STRONG>Here is some text</STRONG> might appear as bold in some browsers, or might flash instead.

If a specific text attribute, such as bold is desired, a physical format tag may be necessary. See the section, "Physical Format Tags," for more information.

Note: All the hypertext procedures (HTP) shown in this section are also available as hypertext functions (HTF).

htp.cite

Syntax htp.cite (ctext, cattributes);
Purpose Prints a pair of HTML tags that specify the text they surround as a citation. Usually rendered as italics.
Parameters ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <CITE cattributes>ctext</CITE>

htp.code

Syntax htp.code (ctext, cattributes);
Purpose Prints a pair of HTML tags that specify the text they surround as an example of code output. Usually rendered in monospace format, e.g. Courier.
Parameters ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <CODE cattributes>ctext</CODE>

htp.emphasis

Syntax htp.emphasis (ctext, cattributes);
Purpose Prints a pair of HTML tags that specify the text they surround as requiring typographic emphasis. This tag is equivalent to htp.em. Usually rendered as italics.
Parameters ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <EM cattributes>ctext</EM>

htp.em

Alias for htp.emphasis

htp.keyboard

Syntax htp.keyboard (ctext, cattributes);
Purpose Prints a pair of HTML tags that specify the text they surround as text typed in by the user.,which is usually rendered as monospace. This tag is equivalent to htp.kbd.
Parameters ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <KBD cattributes>ctext</KBD>

htp.kbd

Alias for htp.keyboard

htp.sample

Syntax htp.sample (ctext, cattributes);
Purpose Prints a pair of HTML tags that specify the text they surround as a sequence of literal characters that must be typed in the exact sequence in which they appear. Usually rendered as monospace font.
Parameters ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <SAMP cattributes>ctext</SAMP>

htp.strong

Syntax htp.strong (ctext, cattributes);
Purpose Prints a pair of HTML tags that specify the text they surround as needing strong typographic emphasis. Usually rendered as bold.
Parameters ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <STRONG cattributes>ctext</STRONG>

htp.variable

Syntax htp.variable (ctext, cattributes);
Purpose Prints a pair of HTML tags that specify the text they surround as a variable name, or a variable that might be entered by the user. Usually rendered as italics.
Parameters ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <VAR cattributes>ctext</VAR>

Contents Index Home Previous Next