# Alternative text

*noun*

say it: **“awl-TER-nuh-tiv TEKST”** **/ɔlˈtɝnətɪv tɛkst/** or **“ALT TEKST”** **/ɔlt tɛkst/**

Words in an image's alt attribute that say what the picture means; screen readers read them aloud, and browsers show them when the image can't load.

## What is **Alternative text**?

**Alternative text** — Text that communicates an image's purpose when the image cannot or should not be perceived.

```html
<img src="cart.png" alt="Shopping cart: 3 items">
```

## In a sentence

- “The **alt text** for the photo says Golden retriever puppy sitting on a red blanket.”
- “The **alternative text** on the menu photo said "Iced oat latte with caramel drizzle," so a screen reader user knew what the special was.”

Level: Novice · [More HTML terms at this level](https://www.ask-codey.com/glossary?category=html&level=1)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/alternative-text
