---
title: "s.ui.window-title"
description: "## Syntax **s.ui.window-title** ## Purpose The s.ui.window-title annotation is used to tag a span element as being the title of a window within a user interface. This can be used to refer to the main window of the program or…"
url: "https://www.stilo.com/docs/migrate/task/s-ui-window-title/"
updated: "2023-12-11"
category: Annotations / Task
tags:
  - Annotations
---

# s.ui.window-title

## Syntax

**s.ui.window-title**

## Purpose

The s.ui.window-title annotation is used to tag a span element as being the title of a window within a user interface. This can be used to refer to the main window of the program or a pop up within the program.

## Example

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

![](https://www.stilo.com/wp-content/uploads/2023/12/stilo-dita-xml-annotation-s.ui_.window-title0.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.ui_.window-title1.png)

The following is the DITA XML output for the rule:

<result><p>This will open the <wintitle>New File Settings</wintitle> window, which will prompt you to enter the required metadata for your file.</p></result>

 
