Go to main content

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 both name and id are specified, name is used while id 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

<p>
    <txp:link />:
    <txp:link_description />
</p>

Other tags used: link_description.

Genealogy

Version 4.6.0

id and name attributes added.

If you notice any kind of problem with this page’s construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)