p.task.prereq

Table of Contents

Syntax #

p.task.prereq

Purpose #

The p.task.prereq annotation tags a paragraph as being required information before a procedure. This is used to tag contextual or setup information. The prereq tag will be applied to all text that appears before the first <steps> element.

Examples #

The following is an example of a time when you would want to use a p.task.prereq annotation:

The first paragraph is prerequisite information which establishes context for the procedure.

The following is an example of a rule that applies the p.task.prereq annotation:

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


<taskbody>
<prereq>
<p>Using styles is an important aspect of structured writing. By employing styles rather than locally formatting each line, you can maintain an organized structure throughout the entire document, enable automated tagging of text elements, and easily propagate formatting changes.</p>
<p>To apply a style to existing text:</p>
</prereq>