context
The <context> element provides
background information for a task. This information helps the user
understand what the purpose of the task is and what they will gain
by completing the task. This section should be brief and does not
replace or recreate a concept topic on the same subject, although
the context section may include some conceptual information.
Contains
Note
These models represent only the default document types distributed by OASIS.
Actual content models will differ with each new document type.
Contained by
Doctype | Content model |
---|---|
ditabase, task (strict), task (general), machineryTask, learningContent | taskbody |
Inheritance
- topic/section task/context
Example
<task id="sqlj"> <title>Creating an SQLJ file</title> <taskbody> <context>Once you have set up SQLJ, you need to create a new SQLJ file. </context> </taskbody> </task>
Attributes
Name | Description | Data Type | Default Value | Required? |
---|---|---|---|---|
univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups) | A set of related attributes, described in univ-atts attribute group | |||
global-atts attribute group (xtrf, xtrc) | A set of related attributes, described in global-atts attribute group | |||
class, outputclass | Common attributes described in Other common DITA attributes |