tip
tip — A suggestion to the user, set off from the text.
Synopsis
- Sequence of:
- One of:
- One or more of:
annotation
bridgehead
remark
revhistory
- Indexing inlines
- Admonition elements
- Formal elements
- Graphic elements
- Informal elements
informalequation
informalexample
informalfigure
informaltable
(db.cals.informaltable)informaltable
(db.html.informaltable)
- List elements
- Paragraph elements
- Publishing elements
- Synopsis elements
- Technical elements
- Verbatim elements
- One of:
Attributes
Additional Constraints
- caution must not occur in the descendants of tip
- important must not occur in the descendants of tip
- note must not occur in the descendants of tip
- tip must not occur in the descendants of tip
- warning must not occur in the descendants of tip
Description
A tip
is an admonition set off from the main
text.
In some types of documentation, the semantics of admonitions are
clearly defined (caution
might imply the possibility
of harm to equipment whereas warning
might imply harm
to a person), but DocBook makes no such assertions.
Processing expectations
Formatted as a displayed block. Often outputs the generated text
“Tip” or some other visible indication of the type of
admonition, especially if a title
is not present.
Sometimes outputs a graphical icon or other symbol as well.
This element occurs in 72 elements.
This element contains 63 elements.
Examples
1 <article xmlns='http://docbook.org/ns/docbook'> 2 <title>Example tip</title> 4 <tip> <para>If you tie your shoelaces, you're less likely to trip and 6 fall down. </para> 8 </tip> 10 </article>
Tip
If you tie your shoelaces, you're less likely to trip and fall down.