<alt>
Alternate text is a textual description of an image. Systems often render the alternate text when the reader is using assistive technology or the image cannot be rendered.
Content model
(Text | <data> | <foreign> | <keyword> | <term> | <text> | <draft-comment> | <required-cleanup> | <ph>)*
Contained by
Contained by
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 attributes.
The following attributes are available on this element: universal attributes.
Example
This section is non-normative.
The following code sample shows how alternate text is associated with an image of a marketing banner:
<image href="newCampaign.jpg">
<alt>Marketing banner for new product campaign</alt>
</image>