---
title: "s.user-input"
description: "## Syntax **s.user-input**   ## Purpose The s.user-input annotation is used to tag a span element as the text that a user provides to a program to receive output. This can be to initialize a process, in response to an…"
url: "https://www.stilo.com/docs/migrate/book/s-user-input/"
updated: "2023-12-18"
category: Annotations / Book, Map and Bookmap
tags:
  - Annotations
---

# s.user-input

## Syntax

**s.user-input**

 

## Purpose

The s.user-input annotation is used to tag a span element as the text that a user provides to a program to receive output. This can be to initialize a process, in response to an output, or any other software interaction.

## Examples

The following is an example of a time when you might want to use the annotations

![](https://www.stilo.com/wp-content/uploads/2023/12/stilo-dita-xml-annotation-s.user-input0.png)

 

The following is an example of a rule that will apply the annotation

![](https://www.stilo.com/wp-content/uploads/2023/12/stilo-dita-xml-annotation-s.user-input1.png)

The following is the DITA XML output for the rule:

<p>When the user enters **<userinput>&lt;program name>!Start</userinput>**, GOS will attempt to launch the specified program. In this input, <varname>&lt;program name></varname> is a variable for the name of the program that the user is attempting to launch.</p>
