Adding Images in HTML

Learn how to add images using the <img> tag.

Back to Home

Step 1: Learn the Basics

To add an image in HTML, use the following format:

<img src="image.jpg" alt="Description">

Step 2: Try It Yourself

Type your code in the box below. Add an image with a URL and an alt description.