HTML: The Markup Language

summarysummary, caption, or legend for a details control NEW # T

The summary element represents a summary, caption, or legend for a details element.

Permitted contents #

Permitted attributes #

global attributes
Any attributes permitted globally.

Tag omission #

A summary element must have both a start tag and an end tag.

Permitted parent elements #


DOM interface #

Uses HTMLElement.

Typical default display properties #

summary {
display: block; }