---
title: s.underline
description: "## Syntax **s.underline** ## Purpose The annotation *s.underline* is used to underline text. The following table shows a couple of examples of where you would use the annotation *s.underline*. [![Sample text with underline](https://www.stilo.com/wp-content/uploads/2021/03/s-underline-example.png)](https://www.stilo.com/wp-content/uploads/2021/03/s-underline-example.png) Here is what your rule may look…"
url: "https://www.stilo.com/docs/migrate/typography-spans/s-underline/"
updated: "2021-04-29"
category: Annotations / Typography Spans
tags:
  - Annotations
---

# s.underline

## Syntax

**s.underline**

## Purpose

The annotation *s.underline* is used to underline text.

The following table shows a couple of examples of where you would use the annotation *s.underline*.

[![Sample text with underline](https://www.stilo.com/wp-content/uploads/2021/03/s-underline-example.png)](https://www.stilo.com/wp-content/uploads/2021/03/s-underline-example.png)

Here is what your rule may look like.

[![Rule for s.underline](https://www.stilo.com/wp-content/uploads/2021/03/s-underline-rule.png)](https://www.stilo.com/wp-content/uploads/2021/03/s-underline-rule.png)

This is what your output may look like. This is just the contents of the corresponding cell of the table from the example.

```
<entry colname="C1" colsep="1">
<u><tt>typewriter underlined</tt></u>
</entry>
```
