<alt>
The <alt> element provides alternate text for an image. It is
equivalent to the @alt attribute on the <image>
element; since the @alt attribute is deprecated, use the
<alt> element instead. The <alt> element
can be more easily edited or translated than the @alt attribute.
Content models
See appendix for information about this element in OASIS document type shells.
Inheritance
- topic/alt
Example
This section is non-normative.
The markup for alternate text within an image looks like this:
<image href="tip-ing.jpg">
<alt>Here's a Tip!</alt>
</image> Content model
(Text | <data> | <data-about> | <foreign> | <unknown> | <keyword> | <term> | <text> | <draft-comment> | <required-cleanup> | <ph>)*
Contained by
<hazardsymbol>, <image>
- Text
<data><data-about><draft-comment><foreign><keyword><ph><required-cleanup><term><text><unknown>
Contained by
<hazardsymbol><image>
Inheritance
- topic/alt
The <alt> element is a base element type. It is defined in the topic module.
Attributes
The following attributes are available on this element: Universal attribute group and outputclass.