<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
Updated