title
title — The text of the title of a section of a document or of a formal block-level element.
Synopsis
- Zero or more of:
- text
- Bibliography inlines
- Error inlines
- Graphic inlines
- GUI inlines
- Indexing inlines
- Keyboard inlines
- Linking inlines
- Markup inlines
- Math inlines
- Object-oriented programming inlines
- Operating system inlines
- Product inlines
- Programming inlines
- Publishing inlines
- Technical inlines
- Ubiquitous inlines
alt
anchor
annotation
biblioref
indexterm
(db.indexterm.endofrange)indexterm
(db.indexterm.singular)indexterm
(db.indexterm.startofrange)inlinemediaobject
link
olink
remark
subscript
superscript
xref
Attributes
Description
The title
element is widely used in DocBook. It
identifies the titles of documents and parts of documents, and is the
required caption on formal objects. It is also allowed as an optional
title or caption on many additional block elements.
Processing expectations
Formatted as a displayed block. Titles are often repeated in several locations: for example, at the location where the object occurs, in the table of contents, and in running headers and footers.
DocBook does not offer any mechanism for indicating where a line break should occur in long titles. Titles are often repeated and no single line break is likely to be correct in all of the places where a title is used. Instead, you will have to rely on your processing system to provide a mechanism, such as a processing instruction, for identifying the location of forced line breaks.
See Also
Examples
1 <article xmlns='http://docbook.org/ns/docbook'> 2 <title>Example title</title> 4 <section> <title>A Top Level Section</title> 6 <para>Actual content.</para> 8 </section> 10 </article>