# &lt;legend>

*noun*

say it: **“LEJ-und”** **/ˈlɛdʒənd/**

The HTML element that gives a fieldset its caption, the question that a group of choices answers.

## What is **`<legend>`**?

**`<legend>`** — The element that captions a fieldset.

## In a sentence

- “The **legend** says Choose your crust, and the screen reader reads it before the choices.”
- “Without a **legend**, the box of toppings had no words to say what it was.”

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

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/legend
