View Categories

p.title.for-following-content

< 1 min read

Table of Contents

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:

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

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>