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
abbrev
acronym
coref
date
emphasis
(db.emphasis)firstterm
(db._firstterm)firstterm
(db.firstterm)footnote
footnoteref
foreignphrase
(db.foreignphrase)glossterm
(db._glossterm)glossterm
(db.glossterm)phrase
(db.phrase)quote
(db.quote)subscript
superscript
wordasword
- Technical inlines
- Ubiquitous inlines
abbrev
acronym
alt
anchor
annotation
biblioref
coref
date
emphasis
(db._emphasis)firstterm
(db._firstterm)footnote
footnoteref
foreignphrase
(db._foreignphrase)glossterm
(db._glossterm)indexterm
(db.indexterm.endofrange)indexterm
(db.indexterm.singular)indexterm
(db.indexterm.startofrange)inlinemediaobject
link
olink
phrase
(db._phrase)quote
(db._quote)remark
subscript
superscript
trademark
wordasword
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.
Parents
These elements contain title
: abstract
, acknowledgements
, annotation
, appendix
, article
, assembly
, bibliodiv
, biblioentry
, bibliography
, bibliolist
, bibliomixed
, bibliomset
, biblioset
, blockquote
, book
, calloutlist
, caution
, chapter
, colophon
, constraintdef
, dedication
, equation
, example
, figure
, formalpara
, glossary
, glossdiv
, glosslist
, important
, index
, indexdiv
, info
(db.info), info
(db.titleonly.info), info
(db.titleonlyreq.info), info
(db.titlereq.info), itemizedlist
, legalnotice
, merge
, msg
, msgexplan
, msgmain
, msgrel
, msgset
, msgsub
, note
, orderedlist
, part
, partintro
, personblurb
, preface
, procedure
, productionset
, qandadiv
, qandaentry
, qandaset
, reference
, refsect1
, refsect2
, refsect3
, refsection
, refsynopsisdiv
, relationships
, revhistory
, screenshot
, sect1
, sect2
, sect3
, sect4
, sect5
, section
, segmentedlist
, set
, setindex
, sidebar
, simplesect
, step
, table
(db.cals.table), task
, taskprerequisites
, taskrelated
, tasksummary
, tip
, toc
, tocdiv
, topic
, transforms
, variablelist
, warning
.
Children
The following elements occur in title: text, abbrev
, accel
, acronym
, alt
, anchor
, annotation
, application
, author
, biblioref
, citation
, citebiblioid
, citerefentry
, citetitle
, classname
, code
, command
, computeroutput
, constant
, coref
, database
, date
, editor
, email
, emphasis
(db._emphasis), emphasis
(db.emphasis), envar
, errorcode
, errorname
, errortext
, errortype
, exceptionname
, filename
, firstterm
(db._firstterm), firstterm
(db.firstterm), footnote
, footnoteref
, foreignphrase
(db._foreignphrase), foreignphrase
(db.foreignphrase), function
, glossterm
(db._glossterm), glossterm
(db.glossterm), guibutton
, guiicon
, guilabel
, guimenu
, guimenuitem
, guisubmenu
, hardware
, indexterm
(db.indexterm.endofrange), indexterm
(db.indexterm.singular), indexterm
(db.indexterm.startofrange), initializer
, inlineequation
, inlinemediaobject
, interfacename
, jobtitle
, keycap
, keycode
, keycombo
, keysym
, link
, literal
, markup
, menuchoice
, methodname
, modifier
, mousebutton
, nonterminal
, olink
, ooclass
, ooexception
, oointerface
, option
, optional
, org
, orgname
, package
, parameter
, person
, personname
, phrase
(db._phrase), phrase
(db.phrase), productname
, productnumber
, prompt
, property
, quote
(db._quote), quote
(db.quote), remark
, replaceable
, returnvalue
, shortcut
, subscript
, superscript
, symbol
, systemitem
, tag
, termdef
, token
, trademark
, type
, uri
, userinput
, varname
, wordasword
, xref
.
See Also
Examples
<article xmlns='http://docbook.org/ns/docbook'>
<title>Example title</title>
<section>
<title>A Top Level Section</title>
<para>Actual content.</para>
</section>
</article>