A fieldset caption
legend

The legend element is used to provide a title or caption for a fieldset.
Example
form {
fieldset {
legend Vote for your favorite scented plant
input #primrose *type=radio *name=favorite Primrose
input #plumeria *type=radio *name=favorite Plueria
input #ylang-ylang *type=radio *name=favorite Ylang-Ylang
input #lily-of-the-valley *type=radio *name=favorite Lily of the Valley
}
}
Complements
- legend
- The legend element is used to provide a title or caption for a fieldset.