I keep on adding image alt tags to every image but it’s not showing. How can I solve the problem?

edited by MattIPv4

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there @saikatm,

Alt tags on images are designed to only show when the image cannot be loaded or for use by screen-readers etc. In the normal operation of a website being viewed, they would not show.

if you’re wanting to add captions to your images, I would suggest making the img part of a figure and then adding a figcaption to them. You can read more about figcaptions here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption

Hope that helps!
- Matt.