HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

legend

Description

The legend element for HTML represents a title or explanatory caption for the rest of the contents of the legend element's parent element.

Syntax

HTML

<legend attribute-name="attribute-value"></legend>

Attributes

Global

CSS

legend
{
    border: none;
    display: block;
    padding-left: 2px;
    padding-right: 2px;
}

Examples

1 · CSS