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

# s.subscript

## Syntax

**s.subscript**

## Purpose

The annotation s.subscript is used to create subscript text.

The following text shows an example of where you would use the annotation *s.subscript*.

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

 

Here is what your rule may look like.

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

This is what your output may look like.

```
<p>This sentence has a subscript in it, S<sub>0</sub>.</p>
```
