I am having problem


hi there.can anybody help me to use an"Alt" to an image?


It’s easy! You just add an alt attribute.

<img alt="brown bear in forest looking at camera" src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg">

The image would look like this:

brown bear in forest looking at camera

It helps for people who can’t see. Their computer speaks to them, saying whatever the alt is.
That way, they can imagine the picture, without needing their eyes.

Hope this helps!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.