<cmd>
A command specifies the action that people take to complete a step.
Specialization hierarchy
The <cmd>
element is specialized from <ph>
. It is
defined in the task module.
Content model
(Text | <cite>
| <include>
| <keyword>
| <ph>
| <q>
| <term>
| <text>
| <tm>
| <xref>
| <data>
| <foreign>
| <image>
| <draft-comment>
| <fn>
| <indexterm>
| <required-cleanup>
)*
Contained by
- Text
<cite>
<data>
<draft-comment>
<fn>
<foreign>
<image>
<include>
<indexterm>
<keyword>
<ph>
<q>
<required-cleanup>
<term>
<text>
<tm>
<xref>
Contained by
Inheritance
- topic/ph task/cmd
The <cmd>
element is specialized from <ph>
. It is defined in the task module.
Attributes
The following attributes are available on this element: universal
attributes and @keyref
.
The following attributes are available on this element: universal attributes and the attributes defined below.
@keyref
- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyref
is@data-keyref
Example
This section is non-normative.
In the following code sample, the <cmd>
element provides clear, active-voice instruction for how to
complete a step:
<step>
<cmd>Specify the configuration parameters.</cmd>
</step>