Problem Statement
Which attribute is used to provide an alternative text for an image?
Explanation
The alt attribute provides text that describes the image, which helps with accessibility and displays if the image fails to load
Get the Preplance app for a seamless learning experience. Practice offline, get daily streaks, and stay ahead with real-time interview updates.
Get it on
Google Play
4.9/5 Rating on Store
HTML · Interview Question
Detailed answer, explanation and code for this interview question. Ideal for HTML interview preparation, coding rounds and viva questions.
Which attribute is used to provide an alternative text for an image?
Master HTML with our complete collection of questions, tutorials and guides.