DITA Resource Center

<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 models

See appendix for information about this element in OASIS document type shells.

Inheritance

- topic/ph task/cmd

Example

<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.

Was this page helpful?