Which HTML attribute specifies an text hint for an image, if the image cannot be displayed?
Explanation
The alt attribute specifies an alternative text for the image, if it cannot be displayed.

<a href="https://quizful.com/">
<img src="IMAGE ADDRESS IS NOT SET DELIBERATELY"
alt="quizful-logo" width=100% height=100%>
</a>
Alternate clickable text instead of quizful-logo

Anyway, the alternative text works as a link.
The required alt attribute specifies an alternative text for an image, if the image cannot be displayed.
The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader).

Without src attribute with alternative text

there will be only a clickable broken link displayed:

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з HTML & CSS
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести