---
title: s.indexterm
description: "## Syntax **s.indexterm** ## Purpose The s.indexterm annotation is used to tag a span element as being an index entry. This identifies the element as being a part of an index. This also allows the element to be associated with…"
url: "https://www.stilo.com/docs/migrate/task/s-indexterm/"
updated: "2023-12-11"
category: Annotations / Task
tags:
  - Annotations
---

# s.indexterm

## Syntax

**s.indexterm**

## Purpose

The s.indexterm annotation is used to tag a span element as being an index entry. This identifies the element as being a part of an index. This also allows the element to be associated with elements annotated with s.index-see or s.index-see-also.

## Example

The following is an example of a time where you might want to use the s.indexterm annotation:

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

The following is an example of a rule that will apply s.indexterm:

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

The following is the DITA XML output for the previous rule:

<conbody>

<p>A</p>

<p><indexterm>accelerometer</indexterm>. <indexterm><index-see>See electronic components</index-see></indexterm></p>

<p><indexterm>assembling</indexterm>, 14</p>

<p>            <indexterm>connecting coolant lines</indexterm>, <i>14</i></p>

<p>            <indexterm>connecting fuel lines</indexterm>, <i>15</i></p>

<p><indexterm>assembly</indexterm>. <indexterm><index-see>See assembling</index-see></indexterm></p>

 
