Informative Image Example: Photo

Informative Image Example

Example Start

the homepage of cnn.com has an image of a photo that goes along with the top story of the day, which is an example of an informative image. the content of the alt attribute of the news image on cnn.com is the headline of the related news story.

HTML Source Code


<img src="images/ex-pic1.png" alt="the homepage of cnn.com has an image of a photo that goes along with the top story of the day, which is an example of an informative image." />
<img src="images/ex-pic2.png" alt="the content of the alt attribute of the news image on cnn.com is the headline of the related news story." />