The alt attribute is set equal to text that you want to display, incase an image file does not display.At the bottom of this page there is a code editor pre-loaded with the lesson's code.
<img src="rainyDay.jpg" alt="It is raining today.">
src The user's web browser will first try to display rainyDay.jpg.
alt If the web browser can not display the image, it will display this text instead.