📄 oracle webserver
字号:
作者:孤独求败
日期:00-1-14 4:13:23
List Tags 列表标记
List tags allow you to display information in any of the following ways:
ordered: these lists have numbered items
unordered: these lists have bullets to mark each item
definition: these lists alternate a term with its definition
Note: All the hypertext procedures (HTP) shown in this section are also available as hypertext functions (HTF).
htp.listHeader
语法 htp.listHeader (ctext, cattributes);
作用 Prints an HTML tag at the beginning of the list
参数 ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <LH cattributes>ctext</LH>
htp.listItem
语法 htp.listItem (ctext, cclear, cdingbat, csrc, cattributes);
作用 Prints an HTML tag that formats a listed item.
参数 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
Generates <LI CLEAR="cclear" DINGBAT="cdingbat" SRC="csrc" cattributes>ctext
htp.ulistOpen
语法 htp.ulistOpen (cclear, cwrap, cdingbat, csrc, cattributes);
作用 Prints an HTML tag that is used to open an unordered list that presents listed items separated by white space and marked off by bullets.
参数 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
Generates <UL CLEAR="cclear" WRAP="cwrap" DINGBAT="cdingbat" SRC="csrc" cattributes>
htp.ulistClose
语法 htp.ulistClose;
作用 Prints an HTML tag that ends the unordered list.
参数 none
Generates </UL>
htp.olistOpen
语法 htp.olistOpen (cclear, cwrap, cattributes);
作用 Prints an HTML tag that is used to open an ordered list that presents listed items marked off with numbers.
参数 cclear in varchar2 DEFAULT NULL
cwrap in varchar2 DEFAULT NULL
cattributes in varchar2 DEFAULT NULL
Generates <OL CLEAR="cclear" WRAP="cwrap" cattributes>
htp.olistClose
语法 htp.olistClose;
作用 Prints an HTML tag that ends an ordered list.
参数 none
Generates </OL>
htp.dlistOpen
语法 htp.dlistOpen (cclear, cattributes);
作用 Prints an HTML tag that starts a definition list
参数 cclear in varchar2 DEFAULT NULL
cattributes in varchar2 DEFAULT NULL
Generates <DL CLEAR="cclear" cattributes>
htp.dlistClose
语法 htp.dlistClose
作用 Prints an HTML tag that Ends a definition list
参数 none
Generates </DL>
htp.dlistDef
语法 htp.dlistDef (ctext, cclear, cattributes);
作用 Prints an HTML tag that is used to insert terms, and their corresponding definitions in an indented list format. The htp.dlistTerm must immediately follow this tag.
参数 ctext in varchar2 DEFAULT NULL
clear in varchar2 DEFAULT NULL
cattributes in varchar2 DEFAULT NULL
Generates <DD CLEAR="cclear" cattributes>ctext
htp.dlistTerm
语法 htp.dlistTerm (ctext, cclear, cattributes);
作用 Prints an HTML tag used to insert the definition term inside the definition list. This tag must immediately follow the htp.dlistDef.
参数 ctext in varchar2 DEFAULT NULL
cclear in varchar2 DEFAULT NULL
cattributes in varchar2 DEFAULT NULL
Generates <DT CLEAR="cclear" cattributes>ctext
htp.menulistOpen
语法 htp.menulistOpen;
作用 Prints an HTML tag that begins a list that presents one line per item, and appears more compact than an unordered list. The htp.listItem will follow this tag.
参数 none
Generates <MENU>
htp.menulistClose
语法 htp.menulistClose;
作用 Prints an HTML tag that ends a menu list.
Paramenters none
Generates </MENU>
htp.dirlistOpen
语法 htp.dirlistOpen;
作用 Prints an HTML tag that begins a directory list. This presents information in a list of items that contain up to 20 characters. Items in this list are typically arranged in columns, typically 24 characters wide. The <LI> or htp.listItem must appear directly after you use this tag.
参数 none
Generates <DIR>
htp.dirlistClose
语法 htp.dirlistClose;
作用 Prints an HTML tag that closes the directory list tag, htp.dirlistOpen.
参数 none
Generates </DIR>
--------------------------------------------------------------------------------
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
语法 htp.cite (ctext, cattributes);
作用 Prints a pair of HTML tags that specify the text they surround as a citation. Usually rendered as italics.
参数 ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <CITE cattributes>ctext</CITE>
htp.code
语法 htp.code (ctext, cattributes);
作用 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.
参数 ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <CODE cattributes>ctext</CODE>
htp.emphasis
语法 htp.emphasis (ctext, cattributes);
作用 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.
参数 ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <EM cattributes>ctext</EM>
htp.em
Alias for htp.emphasis
htp.keyboard
语法 htp.keyboard (ctext, cattributes);
作用 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.
参数 ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <KBD cattributes>ctext</KBD>
htp.kbd
Alias for htp.keyboard
htp.sample
语法 htp.sample (ctext, cattributes);
作用 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.
参数 ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <SAMP cattributes>ctext</SAMP>
htp.strong
语法 htp.strong (ctext, cattributes);
作用 Prints a pair of HTML tags that specify the text they surround as needing strong typographic emphasis. Usually rendered as bold.
参数 ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <STRONG cattributes>ctext</STRONG>
htp.variable
语法 htp.variable (ctext, cattributes);
作用 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.
参数 ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <VAR cattributes>ctext</VAR>
--------------------------------------------------------------------------------
Physical Format Tags 物理格式标记
The physical format tags are used to specify the format of the marked text.
Note: All the hypertext procedures (HTP) shown in this section are also available as hypertext functions (HTF).
htp.bold
语法 htp.bold (ctext, cattributes);
作用 Prints a pair of HTML tags that specify the text they surround is to be rendered as boldface.
参数 ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <B cattributes>ctext</B>
htp.italic
语法 htp.italic (ctext, cattributes);
作用 Prints a pair of HTML tags that specify the text they surround is to be rendered as italics.
参数 ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <I cattributes>ctext</I>
htp.teletype
语法 htp.teletype (ctext, cattributes);
作用 Prints a pair of HTML tags that specify the text they surround is to be rendered in a fixed width typewriter font, e.g. Courier.
参数 ctext in varchar2
cattributes in varchar2 DEFAULT NULL
Generates <TT cattributes>ctext</TT>
--------------------------------------------------------------------------------
Form Tags 表单标记
The form tags are used to create and manipulate an HTML form. Forms are used to allow interactive data exchange between a Web Browser and a CGI program.
Forms can have the following types of elements:
Input: used for a large variety of types of input fields, for example:
single line text
single line password fields
checkboxes
radio buttons
submit buttons
Text area: used to create a multi-line input field.
Select: used to allow the user to chose one or more of a set of alternatives described by textual labels. Usually rendered as a pulldown, pop up, or a fixed size list.
Note: All the hypertext procedures (HTP) shown in this section are also available as hypertext functions (HTF).
htp.formOpen
语法 htp.formOpen (curl, cmethod);
作用 Prints an HTML tag that starts the form. The curl value is required and is the URL of the CGI script, normally owa, to which the contents of the Form will be sent. The method is either "GET" or "POST."
参数 curl in varchar2
cmethod in varchar2 DEFAULT 'POST'
Generates <FORM ACTION="curl" METHOD="cmethod">
htp.formClose
语法 htp.formClose;
作用 Prints an HTML tag that closes the <FORM> tag
参数 none
Generates </FORM>
htp.formCheckbox
语法 htp.formCheckbox (cname, cvalue, cchecked, cattributes);
作用 Prints an HTML tag that inserts a checkbox which the user can toggle off or on.
参数 cname in varchar2
cvalue in varchar2 DEFAULT 'on'
cchecked in varchar2 DEFAULT NULL
cattributes in varchar2 DEFAULT NULL
Generates <INPUT TYPE="checkbox" NAME="cname" VALUE="cvalue" CHECKED cattributes>
htp.formHidden
语法 htp.formHidden (cname, cvalue, cattributes);
作用 Prints an HTML tag that sends the content of a field along with a submitted form. The field is not visible to the end user.
参数 cname in varchar2
cvalue in varchar2 DEFAULT NULL
cattributes in varchar2 DEFAULT NULL
Generates <INPUT TYPE="hidden" NAME="cname" VALUE="cvalue" cattributes>
htp.formImage
语法 htp.formImage (cname, csrc, calign, cattributes);
作用 Prints an HTML tag that creates an image field that can be clicked on causing the Form to be immediately submitted. 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 the ".y" appended. Any value attribute is ignored. The image itself is specified by the CSRC attribute.
参数 cname in varchar2
csrc in varchar2
calign in varchar2 DEFAULT NULL
cattributes in varchar2 DEFAULT NULL;
Generates <INPUT TYPE="image" NAME="cname" SRC="csrc" ALIGN="calign" cattributes>
htp.formPassword
语法 htp.formPassword (cname, csize, cmaxlength, cvalue, cattributes);
作用 Prints an HTML tag that creates a single line text entry field. Text will not be displayed as it is entered. When the user enters a password, characters are represented by asterisks on single line text entry field.
参数 cname in varchar2
csize in varchar2
cmaxlength in varchar2 DEFAULT NULL
cvalue in varchar2 DEFAULT NULL
cattributes in varchar2 DEFAULT NULL
Generates <INPUT TYPE="password" NAME="cname" SIZE="csize" MAXLENGTH="cmaxlength" VALUE="cvalue" cattributes>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -