<img src="https://placeimg.com/120/80/animals" alt="Animals">
<img src="https://placeimg.com/120/80/tech" alt>
<img src="https://placeimg.com/120/80/nature">
img:not([alt]) { border: 2px red dashed; }
img { margin: 10px; padding: 1px; }

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.