Menu Samaritan's Purse

LEGEND

The legend element 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

CSS

Web Hypertext Application Technology Working Group (WHATWG)