ANCHOR and ANCHOR2 v17

These functions and procedures generate the <A> and </A> HTML tags, which specify the source or destination of a hypertext link.

Syntax

The following is the syntax for HTP:

HTP.ANCHOR (
   curl           IN       VARCHAR2
   ctext          IN       VARCHAR2
   cname          IN       VARCHAR2   DEFAULT NULL
   cattributes    IN       VARCHAR2   DEFAULT NULL);

HTP.ANCHOR2 (
   curl           IN       VARCHAR2
   ctext          IN       VARCHAR2
   cname          IN       VARCHAR2   DEFAULT NULL
   ctarget        IN       VARCHAR2   DEFAULT NULL
   cattributes    IN       VARCHAR2   DEFAULT NULL);

The following is the syntax for HTF:

HTF.ANCHOR (curl, ctext, cname, cattributes) RETURN VARCHAR2;

HTF.ANCHOR2 (curl, ctext, cname, ctarget, cattributes) RETURN VARCHAR2;

Parameters

ParameterPurpose
curlThe value for the HREF attribute
ctextThe string that goes between the <A> and </A> tags
cnameThe value for the NAME attribute
ctargetThe value for the TARGET attribute
cattributesOther attributes to include as is in the tag