<term>

A term is a word or phrase that has specific meanings in certain contexts. It might have or require extended definitions or explanations.

The @keyref attribute can be used in conjunction with the <term> element to accomplish the following:

  • Supply the text content for the <term> element
  • Associate a term with a resource, typically a definition of the term

The following attributes are available on this element: universal attributes and @keyref.

Example

The following code samples shows how the <term> element can be used

Figure 1. Simple use of the <term> element

In the following code sample, the <term> element is used simply to identify that reference implementation is a term:

<p>A <term>reference implementation</term> of DITA implements the standard, 
fallback behaviors intended for DITA elements.</p>
Figure 2. The <term> element used to reference an external definition

In the following code sample, the <term> element is used to reference an external resource that defines the term:

<p>A <term keyref="reference-implementation">reference implementation</term> of DITA 
implements the standard, fallback behaviors intended for DITA elements.</p>

When combined with the following key definition, processors might render the phrase reference implementation as a hyperlink to the associated Wikipedia page:

<map>
  <title>Information about DITA</title>
  <keydef keys="reference-implementation"
          href="https://en.wikipedia.org/wiki/Reference_implementation"
          format="html" scope="external"/>
  <!-- ... -->
</map>