Table of Contents

Syntax #


Purpose #

The p.title.for-preceding-content annotation tags a paragraph as being a title for content located immediately before it. The preceding 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 where you might want to use the p.title-for-preceding-content annotation:

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

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


<image href="image2.png" width="8.466cm" height="6.35cm">
<alt>A black and white smiley face Description automatically generated with low confidence</alt>
<title>Figure 2. Happy Face</title></fig>