XML technologies / DocBook / Block elements / Annotations / Adding inline annotations
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
The element alt provides an element with brief additional information. An inline annotation can, for example, supply the expanded form of an acronym. The following example shows the code.
Example: A simple inline annotation
<para>
<acronym>XML<alt>eXtensible Markup Language</alt></acronym> ...
</para>A graphic can also be included inside alt using inlinemediaobject.
The presentation depends on the output format. In (X)HTML, tooltips appear when the user pauses the mouse over the element. They have no purpose in printable formats such as PDF and are therefore suppressed there.
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top