Home  »  HTML   »   legend

A legend is a label for the fieldset element.

HTML legend Example:

Edit Example

Usage:
A legend element is used with the fieldset element. This creates a text element or label for the group of input elements defined by the fieldset.

Related HTML Tags: