Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBret Shaw
406 PointsThe alt attribute points to the backup image. My answer is correct but it says bummer. The question asked is what is the
Question is what is the alt attribute used for? My answer selection was it points to a backup image file. The result of my answer says bummer! What up with that?
1 Answer
Steven Parker
231,198 PointsThe "alt" attribute is used to hold a description of the image, and it is shown on the page anytime the image itself cannot be shown due to some problem. It is also spoken to the sight-impaired user by screen reader tools, and browsers will display it if you hover the cursor over the image.
Bret Shaw
406 PointsBret Shaw
406 PointsThanks!