Skip to content
HTML.ONE
Home HTML Elements

HTML <img> Element

Embeds an image. Provide meaningful alt text or empty alt for decorative images.

Example

<img src="photo.jpg" alt="A mountain at sunrise" width="640" height="480">

Further reference

HTML Living Standard