The <summary> element

The part of a <details> element which is visible even when the rest of it is closed.

Usage

The <summary> element is only allowed as the first thing inside a <details> element. It should contain phrasing content which describes what the rest of the content of the <details> element is. The summary will be displayed by the browser whether or not the details are expanded (shown) or collapsed (hidden).

Full list of attributes

All the usual HTML global attributes are available

Further information

The Web Design Academy Contact us

By form

By Phone

+44 (0)113 234 4611

By email

enquiries@thewebdesign.academy

By snail mail

Suite 3 15 South Parade Leeds LS1 5PQ United Kingdom