titlealts

The alternate title element (<titlealts>) is optional, but can occur after the topic title. Two elements can be inserted as sub-elements of <titlealts>: navigation title <navtitle> and search title <searchtitle>.

When your DITA topic is transformed to XHTML, the <searchtitle> element is used to create a title element at the top of the resulting XHTML file. This title may differ from the first level heading that shows in the main browser window. In HTML output, the <navtitle> may be used to create navigation panels when your DITA topics are part of an HTML-based help or information system. The design intent is to enable navigation for HTML Help and Eclipse help systems.

When the <titlealts> element is absent, the title element is used for all purposes.

Example

<task id="progexample">
   <title>Example of Required Programming</title>
      <titlealts><navtitle>Programming Example</navtitle></titlealts>
   <taskbody> . . . </taskbody>
</task>

Contains

Doctype Content model
ditabase, topic, task, reference, concept, glossary ( ( navtitle) (optional) then ( searchtitle) (optional) )

Contained by

Doctype Parents
ditabase topic, concept, task, reference
topic topic
task topic, task
concept topic, concept
reference topic, reference
glossary topic, concept

Inheritance:

- topic/titlealts

Attributes

Name Description Data Type Default Value Required?
%univ-atts; (%select-atts;, %id-atts;, %localization-atts;) A set of related attributes, described at %univ-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 A common attribute described in Other common DITA attributes