The alt Attribute
The alt Attribute
- 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.