+ 4
What's rule of alt=""
4 Answers
+ 5
The alt attribute specifies an alternative text to be displayed in case the image fails to load.
E.g.
<img src="tree.jpg" alt="Blank">
The text blank is displayed if the image tree fails to load.
https://www.sololearn.com/learn/HTML/1030/
+ 4
TheĀ alt attributeĀ is theĀ Html attributeĀ used inĀ HtmlĀ andĀ XHtmlĀ documents to specify alternativeĀ text(alt text) that is to beĀ rendered when theĀ elementĀ to which it is applied cannot be rendered.
The alt attribute is used by "screen reader" software so that a person who is listening to the content of a webpage (for instance, a person who is blind) can interact with this element. Every image should have an alt attribute to be accessible, but it need not contain text. It can be an empty or null attribute:Ā alt=""
+ 4
Absolutely yes Abdelatif
alt=" "
+ 2
So it is alt=" the message ". a message if the image cannot be uploaded due to size, link or source