View Categories

p.title.search

< 1 min read

Table of Contents

Syntax #

p.title.search

Purpose #

The p.title.search annotation is used to tag a paragraph as an alternative title for use with search tools. This allows the use of a more descriptive title for search engines while using a more context-sensitive title in the content itself.

Examples #

The following is an example of a time where you might want to use the p.title.search annotation:

The following is an example of a rule that will apply p.title.search:

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

<title>Animal Lists</title>
<titlealts>
<searchtitle>Animals Known for Being Loud</searchtitle>
</titlealts>
<conbody>
<table frame=”all”>
<title>Table 2. Loud Animals</title>