<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> | <sort-as> | <foreign> | <keyword> | <term> | <text> | <draft-comment> | <required-cleanup> | <ph> | <strong> | <em> | <b> | <i> | <line-through> | <overline> | <sup> | <sub> | <tt> | <u> )*

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>