userinput

userinput — Data entered by the user.

Description

The userinput element identifies words or phrases that the user is expected to provide as input to a computer program.

Note that userinput is not a verbatim environment, but an inline.

Processing expectations

Formatted inline. Often presented in a fixed-width font.

Parents

These elements contain userinput: caption (db.html.caption), citetitle, computeroutput, emphasis, entry, link, literallayout, para, phrase (db.phrase), programlisting, quote, subtitle, td, term, th, title, titleabbrev, userinput.

Examples

1<article xmlns='http://docbook.org/ns/docbook'>
<title>Example userinput</title>
 
<para>At the system prompt, enter <userinput>xyzzy</userinput> to gain
5supervisor access to the system.
</para>
 
</article>

At the system prompt, enter xyzzy to gain supervisor access to the system.