Skip to main content

HTML Guide

Bad value “” for attribute “src” on element “img”: Must be non-empty.

The src attribute for <img> tags is required, to define the source of the image, like in this example:

<img src="photo.jpg" alt="wombat" />

Related W3C validator issues