If the image you are loading in the web page is not available, then you want a text to appear in the image place holder, which attribute lets you define this text?
Advertisements
Question
If the image you are loading in the web page is not available, then you want a text to appear in the image place holder, which attribute lets you define this text?
Options
src
align
text
alt
MCQ
Advertisements
Solution
alt
Explanation:
The alt attribute specifies alternative text for an image. This text appears when the image cannot be displayed.
shaalaa.com
Is there an error in this question or solution?
