<userinput>

The <userinput> element represents the text a user should input in response to a program or system prompt. This element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.

Content models

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

Inheritance

+ topic/ph sw-d/userinput

Example

This section is non-normative.

<p>After you type <userinput>mealplan dinner</userinput>, the meal planning program
will print a <systemoutput>For what day?</systemoutput> message.
Reply by typing the day of the week for which you want a meal plan,
for example, <userinput>Thursday</userinput>.</p>

Content model

(Text | <data> | <data-about> | <foreign> | <unknown> | <keyword> | <term> | <text>)*

Not contained by any element.

Zero or more of the following
  • Text
  • <data>
  • <data-about>
  • <foreign>
  • <keyword>
  • <term>
  • <text>
  • <unknown>

Not contained by any element.

Inheritance

+ topic/ph sw-d/userinput

The <userinput> element is specialized from <ph>. It is defined in the sw-domain module.

Attributes

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