AltThe alt element provides alternate text for an image.
It is equivalent to the alt attribute on the image element; the attribute
is deprecated, so the alt element should be used instead. As an element, alt
provides direct text entry within an XML editor and is more easily accessed
than an attribute for translation.
[edit] Example
The markup for alt text within an image
looks like this:
<image href="tip-ing.jpg">
<alt>Here's a Tip!</alt>
</image>
[edit] Contains
[edit] Contained by
| Doctype
| Parents
|
| bookmap, map, ditabase, topic, task, concept, reference, glossary
| image
|
[edit] Inheritance:
- topic/alt
[edit] Attributes
| Name
| Description
| Data Type
| Default Value
| Required?
|
| %univ-atts; (%select-atts;, %id-atts;, %localization-atts;)
| A set of related attributes, described at %univ-atts;
| parameter entity
| PE not
applicable
| Not applicable
|
| %global-atts; (xtrf, xtrc)
| A set of related attributes, described at %global-atts;
| parameter entity
| PE not
applicable
| Not applicable
|
| class, outputclass
| Common attributes described in Other common DITA attributes
|
|
|
|
TOC: Language Specification 1.1
Parent topic: Body elements
Previous topic: image
Next topic: object
|
|