Name

label — A label on a question or answer

Synopsis

label ::= (text | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*

Description

The label of a question or answer identifies the label that is to be used when formatting the question or answer.

Processing expectations

The label element is used as the label for the question or answer. A processing application might, for example, format the label as a heading preceding the question or answer contents, or it might format it as a run-in heading in the first paragraph of the question or answer.

Examples

See qandaset for an example that uses this element.

Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.