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:
or
In both cases, Amaya guarantees that the generated value is unique within the document.
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:
F2
key to select the entire 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:
or
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.
To create an anchor that is a link to another document:
Ctrl l Ctrl l
.
To create a link to a target anchor or target element in the same document:
Ctrl l Ctrl l
.
Use this procedure to change the target of a link without changing its anchor.
To change a link:
Ctrl l Ctrl
l
.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.