![]() |
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.
Note: You can
also directly create the ID
attribute by selecting the
element and using the Attributes menu. 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. Another method for creating
ID
attributes is using Add/Remove IDs from
the Links menu. Selecting this function automatically
adds an ID
attribute to all elements of a given name within
the whole document, or within the current selection. Simply type the
element name and click the Add ID button.