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).
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> |
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> |
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> |
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> |
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> |
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> |
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> |