Skip to content

Posted on

13 Oct 2025

I keep forgetting, but the alt attribute of the <img> element is not just useful for users who are visually impaired. It is also useful when the image is not displayed in the browser for whatever reason. For example: the src attribute does not contain a valid path to an image.

Found this useful?

Let Me Know
← Back to the previous page