I am having problem


#1

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


#2

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!


#3

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