---
title: "p.title.for-following-content"
description: "## Syntax **p.title.for-following-content** ## Purpose The p.title.for-following-content annotation tags a paragraph as a title for the content that comes immediately after it. The following content can be any format that is not a new topic (e.g. text, image, link). ##…"
url: "https://www.stilo.com/docs/migrate/prolog/p-title-for-following-content-3/"
updated: "2023-11-03"
category: Annotations / Prolog
tags:
  - Annotations
---

# p.title.for-following-content

## Syntax

**p.title.for-following-content**

## Purpose

The p.title.for-following-content annotation tags a paragraph as a title for the content that comes immediately after it. The following content can be any format that is not a new topic (e.g. text, image, link).

## Examples

The following is an example of a time when you might want to use the p.title-for-following-content annotation:

![](https://www.stilo.com/wp-content/uploads/2023/11/stilo-dita-xml-annotation-p.title_.for-following-content0.png)

The following is an example of a rule that will apply p.title.for-following-content:

![](https://www.stilo.com/wp-content/uploads/2023/11/stilo-dita-xml-annotation-p.title_.for-following-content1.png)

The following is an example of the DITA output you would get from this annotation.

 

`<title>Figure 1. Sad Face</title>
<fig>
<image href="image1.png" width="8.466cm" height="6.35cm">
<alt>A black and white drawing of a face Description automatically generated with medium confidence</alt>
</image>
</fig>```

 

 
