$Date$
$Revision$
elements
link
link
Element
link
&link.purpose;
&link.synopsis.gen;
Description
Link is a general purpose hypertext element.
Usually, Link surrounds the text that should be made
“hot,” (unlike XRef which must generate the text) but
the EndTerm attribute can be used to copy
text from another element.
Processing expectations
&format.inline;
If the Link element has content,
then that content is processed for output
as the “hot” text.
If the Link element has content
and an
EndTerm attribute, then the
content is used and the
EndTerm is ignored.
If the Link element has an
EndTerm attribute and
no content, then the
content of the element pointed to by EndTerm
should be repeated at the location of the Link and used
as the “hot” text.
Linking elements must not be nested within other linking
elements (including themselves). Because DocBook is harmonizing
towards &XML;, this restriction cannot easily be enforced by the &DTD;. The
processing of nested linking elements is undefined.
&FutureChanges;
&fu.interfacedefinition;
&link.parents.gen;
&link.children.gen;
Attributes
endterm
Endterm points to the element whose content
is to be used as the text of the link. If Endterm
is supplied on a Link which has content, the value of
Endterm should be ignored.
linkend
Linkend points to the target of the link.
type
Type is available for application-specific
customization of the linking behavior.
See Also
&link.seealso.gen;
Examples
&link.example.1.txt;
&link.example.seealso.gen;