<prereq>

Prerequisites are things that people need to know or preliminary tasks that people need to perform before starting the current task.

Implementations might want to consider having their stylesheets render a label for this element.

The <prereq> element is specialized from <section>. It is defined in the task module.

(Text | <audio> | <dl> | <div> | <example> | <fig> | <image> | <lines> | <lq> | <note> | <object> | <ol> | <p> | <pre> | <simpletable> | <sl> | <table> | <ul> | <video> | <cite> | <include> | <keyword> | <ph> | <q> | <term> | <text> | <tm> | <xref> | <data> | <foreign> | <draft-comment> | <fn> | <indexterm> | <required-cleanup>)*

Contained by

<taskbody>

Zero or more of the following
  • Text
  • <audio>
  • <cite>
  • <data>
  • <div>
  • <dl>
  • <draft-comment>
  • <example>
  • <fig>
  • <fn>
  • <foreign>
  • <image>
  • <include>
  • <indexterm>
  • <keyword>
  • <lines>
  • <lq>
  • <note>
  • <object>
  • <ol>
  • <p>
  • <ph>
  • <pre>
  • <q>
  • <required-cleanup>
  • <simpletable>
  • <sl>
  • <table>
  • <term>
  • <text>
  • <tm>
  • <ul>
  • <video>
  • <xref>

Contained by

- topic/section task/prereq

The <prereq> element is specialized from <section>. It is defined in the task module.

The following attributes are available on this element: universal attributes.

The following attributes are available on this element: universal attributes.

Example

This section is non-normative.

The following code sample is from a topic that explains how to create an SQLJ file. A prerequisite is to log into the SQLJ server.

<task id="sqlj">
 <title>Creating an SQLJ file</title>
 <taskbody>
    <prereq>Before creating a new SQLJ file, you must 
  log in to the SQLJ server.
    </prereq>
    <!-- ... -->
  </taskbody>
</task>

Style sheets might generate a label, for example, Before you begin, to indicate clearly that the prerequisite task needs to be performed before embarking on the procedure.