<A>
(anchor) tags. One anchor tag, which is the starting point of the
link, has an HREF
attribute that identifies
the anchor tag to link to. The other anchor tag, which is the target
of the link, has a NAME
attribute. This NAME
attribute is what the HREF
attribute in the first anchor tag points to. The value of each NAME
attribute in a file must be unique so that each
value of HREF
points to a single, unambiguous
location. The following figure illustrates linking within a file.
The browser highlights the word link
. When you click on link
, the browser
positions the target right here
in
the active window.
HREF
attribute must include the path to that file. The
path can be the path within the file system or the uniform resource
locator (URL) of the file. The following figure illustrates a link
from one file to another file that is specified with a URL. The browser
highlights the word link
. When you
click on link
, the browser positions
the target right here
in the active
window or opens another window that displays the target.
SRC
attribute to identify a file to reference. The value of the SRC
attribute is constructed the same way that the value
of the HREF
attribute is constructed except
that there is no pound sign and no text following it.
HREF
attributes
on <A>
(anchor) tags inside the HTML
files. Each HREF
attribute points to the NAME
attribute on another <A>
tag. The HREF
must identify both the file
that contains the target and the name of the anchor within that file.
The value of HREF
must be a valid target
in a valid URL. It uses the following form:
HREF
attribute based on information
that you provide in the ODS HTML statement.
HREF
attribute (see How ODS Constructs Links and References).
HREF
attribute comes from that option.
HREF
. For information
on these options, see the discussion of GPATH= and the discussion
of PATH= in the ODS HTML Statement . The following table shows how ODS
uses information from the GPATH= option in the URL in HREF
attributes:
Information ODS Uses
in the Second Part of the URL in the HREF attribute1
|
||
---|---|---|
1If you do not specify GPATH=, then ODS uses the value of PATH= to create this part of the HREF. |
HREF
. The following table shows how ODS uses information from the PATH=
option in the URL in HREF
attributes:
HREF
attributes.
HREF
attribute is,
by default, the name of the file that contains the target. ODS determines
the name of the file from the file-specification that you use in the BODY=, CONTENTS=, or PAGE= option. (ODS does
not create links or references to frame files.) For more information
on these options, see ODS MARKUP Statement.