prompt

prompt — A character or string indicating the start of an input field in a computer display.

Synopsis

prompt ::= [-]

Attributes

Common attributes (ID required).

Additional attributes:

    Description

    A prompt is a character or character string marking the beginning of an input field. The prompt element is generally used for command-line interfaces and not graphical user interfaces (GUIs). In GUIs, guilabel is usually more appropriate.

    Processing expectations

    Formatted inline.

    Attributes

    Common attributes (ID required).

    Children [+]

    This element contains 30 elements.

    Examples

      1 <article xmlns='http://docbook.org/ns/docbook'>
      2 <title>Example prompt</title>
        
      4 <para>Enter your user name when the system presents the 
        <prompt>login:</prompt> prompt.
      6 </para>
        
      8 </article>

    Enter your user name when the system presents the login: prompt.

    Last revised by Norman Walsh on 6 Jun 2011 (git hash: 6ffcc7640bbc5f852a318e452c9f210f03292cb9)