The alt Attribute

The alt Attribute

<img src="img_girl.jpg" alt="Girl with a jacket">
  • Specifies an alternative text to be used, when an image cannot be displayed.
  • The value of the attribute can be read by screen readers. This way, someone "listening" to the webpage, e.g. a vision impaired person, can "hear" the element.
  • Is also useful if the image does not exist.

Related concepts

The alt Attribute — Structure map

Clickable & Draggable!

The alt Attribute — Related pages: