Informative Image Example: Photo
Informative Image Example
- alt attribute of img element provides the description of information the image conveys.
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." />