Skip to main content
🌐 HTML Basics

Images & alt text

The <img> tag embeds a picture. It needs a src (where the image lives) and an alt (a text description for screen readers and when the image fails to load).

<img src="cat.jpg" alt="A sleepy orange cat" />

<img> is self-closing — it has no separate closing tag. The slash at the end /> does the closing all by itself.

Your task

Add an image with src="logo.png" and meaningful alt text (use Company logo).

⚡ 25 XP

Hints

index.htmliframe
Loading editor…
Preview
Run your code to see test results.