<userinput>
User input is text that a user enters, such as a response to an application or system prompt.
Specialization hierarchy
The <userinput>
element is specialized from
<ph>
. It is defined in the software domain module.
Content model
(Text | <data>
| <foreign>
| <keyword>
| <term>
| <text>
)*
Not contained by any element.
- Text
<data>
<foreign>
<keyword>
<term>
<text>
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
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 <userinput>
element identifies
text that a user should type at the command prompt:
<p>From a DOS command prompt, type <userinput>dir</userimput> to view a list
of files in the current directory.</p>