title

The <title> element contains a heading or label for the main parts of a topic, including the topic as a whole, its sections and examples, and its labelled content, such as figures and tables. Beginning with DITA 1.1, the element may also be used to provide a title for a map.

Example

<topic id="topic">
 <title>Some little topic</title>
 <body>
  <p>Some discourse.</p>
 </body>
</topic>

Contains

Doctype Content model
ditabase, topic, task, reference, concept ( text data or ph or codeph or synph or filepath or msgph or userinput or systemoutput or b or u or i or tt or sup or sub or uicontrol or menucascade or term or q or boolean or state or keyword or option or parmname or apiname or cmdname or msgnum or varname or wintitle or tm or image or data or data-about or foreign or unknown) (any number)
map, bookmap ( text data or ph or term or q or boolean or state or keyword or tm or image or data or data-about or foreign or unknown) (any number)

Contained by

Doctype Parents
bookmap data, fig, figgroup, table, map, bookmap
map data, fig, figgroup, table, map
ditabase data, fig, figgroup, table, topic, section, example, linklist, concept, task, reference, refsyn, syntaxdiagram, synblk, groupseq, groupchoice, groupcomp, fragment
topic data, fig, figgroup, table, topic, section, example, linklist, syntaxdiagram, synblk, groupseq, groupchoice, groupcomp, fragment
task data, fig, figgroup, table, topic, section, example, linklist, task, syntaxdiagram, synblk, groupseq, groupchoice, groupcomp, fragment
concept data, fig, figgroup, table, topic, section, example, linklist, concept, syntaxdiagram, synblk, groupseq, groupchoice, groupcomp, fragment
reference data, fig, figgroup, table, topic, section, example, linklist, reference, refsyn, syntaxdiagram, synblk, groupseq, groupchoice, groupcomp, fragment
glossary data, fig, figgroup, table, topic, section, example, linklist, concept, syntaxdiagram, synblk, groupseq, groupchoice, groupcomp, fragment

Inheritance:

- topic/title

Attributes

Name Description Data Type Default Value Required?
base A generic attribute that has no specific purpose, but is intended to act as a base for specialized attributes that have a simple value syntax like the conditional processing attributes (one or more alphanumeric values separated by whitespace). The attribute takes a space delimited set of values. However, when acting as a container for generalized attributes, the content model will be more complex; that model is documented in the "attribute generalization" section of the DITA architectural specification. CDATA #IMPLIED No
%id-atts; (id, conref) A set of related attributes, described at %id-atts; parameter entity PE not applicable Not applicable
%localization-atts; (translate, xml:lang, dir) A set of related attributes, described at %localization-atts;. parameter entity PE not applicable Not applicable
%global-atts; (xtrf, xtrc) A set of related attributes, described at %global-atts; parameter entity PE not applicable Not applicable
class, outputclass Common attributes described in Other common DITA attributes