A target anchor is a piece of text that is referred to by a link (a source anchor). Before creating a link to a text string, you must first turn it into a target anchor.
To create a target anchor:
In Formatted view, if Show Targets is turned on, the target text is preceded by an icon . In the Links view, icons that identify target anchors are always displayed.
Name
value by:
In both cases, Amaya guarantees that the generated value is unique within the document.
Note: If you want to create a link to the last target anchor you have created, choose Link to previous target from the Links menu.
In HTML 4.0, an element can be used as a link target. A target element is
a typed element with an ID
attribute to which the link refers (a
source anchor). Before creating a link to such an element, you must first
turn it into a target element.
To create a target element:
ID
value.
In Formatted view, if Show Targets is turned on, the
target element is preceded by an icon . In the Links view, icons that identify target anchors
are always displayed.
ID
attribute value by:
In both cases, Amaya guarantees that the generated value is valid and unique within the document.
Note: You can also directly
create the ID
attribute by selecting the element and using the
Attributes list.
When you enter an attribute value, Amaya checks it for uniqueness, and
changes the value if it is already used by another NAME
or
ID
attribute in the same document.
Note: If you want to create a link to the last target element you have created, choose Link to previous target from the Links menu.
To create an anchor that is a link to another document:
To create a link to a target anchor or target element in the same document or in another document:
Note: If you have created the target anchor or target element recently, instead of step 2 above, select Link to previous target in the Links menu: the last target you have created will become the target of the new link.
The Copy location command registers the location (URI) of the selected target into the system clipboard. If no target is selected, the current document URL is registered. This location can be so pasted into a dialog form or into another external application.
Use this procedure to change the target of a link without changing its anchor.
To change a link:
Note: You can also manually edit the
HREF
attribute of the anchor either in the Structure view or in
the Links view, or use the Attributes list.
The Delete Anchor option on the Links menu removes the anchor enclosing the cursor location.
To use this command, put the selection or the insertion point anywhere within the anchor to be removed (it's not necessary to select the whole anchor), and choose Delete Anchor. The anchor is removed, but its content remains.