Link
Contents
Syntax
<txp:link />
The link tag is a single tag which is used to return an HTML hyperlink defined in the Links panel. It uses the ‘Title’ field as the link’s text.
This tag is used in ‘links’ type forms or inside the linklist container tag.
Attributes
Tag will accept the following attributes (case-sensitive) as well as the global attributes :
id="integer"
v4.6.0+- Specifies the
id
, assigned at creation of the link, to display. Can be found on the Links panel. If bothname
andid
are specified,name
is used whileid
is ignored. name="link name"
v4.6.0+- Specifies which link to display by its link
name
as shown on the Links panel. rel="relation"
- HTML rel attribute to be applied to link.
- Default: unset.
Examples
Example 1: Display a link and its description
<p>
<txp:link />:
<txp:link_description />
</p>
Other tags used: link_description.
Genealogy
Version 4.6.0
id
and name
attributes added.