<cmd>

The <cmd> element specifies a command, which is a required element inside the <step> element. It provides the active voice instruction to the user for completing the step, and should not be more than one sentence. If the step needs additional explanation, place the explanation in an <info> element following the <cmd>.

Content model

(Text | <boolean> | <cite> | <keyword> | <ph> | <q> | <term> | <text> | <tm> | <xref> | <state> | <data> | <data-about> | <foreign> | <unknown> | <image> | <draft-comment> | <fn> | <indextermref> | <indexterm> | <required-cleanup>)*

Contained by

<step>, <substep>

Zero or more of the following
  • Text
  • <boolean>
  • <cite>
  • <data>
  • <data-about>
  • <draft-comment>
  • <fn>
  • <foreign>
  • <image>
  • <indexterm>
  • <indextermref>
  • <keyword>
  • <ph>
  • <q>
  • <required-cleanup>
  • <state>
  • <term>
  • <text>
  • <tm>
  • <unknown>
  • <xref>

Contained by

  • <step>
  • <substep>

Inheritance

- topic/ph task/cmd

The <cmd> element is specialized from <ph>. It is defined in the task module.

Example

This section is non-normative.

<step><cmd>In a text editor, create a new file.</cmd></step>

Attributes

The following attributes are available on this element: Universal attribute group, outputclass, and @keyref.