summary
Definition and Usage
The <summary> tag defines a visible heading for the <details> element. The heading can be clicked to view/hide the details. The HTML<summary>
element is used as a summary, caption, or legend for the content of a <details> element.
This summary/caption can be clicked on to expand/collapse the details as required.
The <summary>
tag, if used, should be the first child of the <details>tag. At this time, <summary> is not well supported across browsers.