The <summary> tag
<summary> sets the visible, clickable heading for its parent details element — clicking it is exactly what expands or collapses the content.
<summary> sets the visible, clickable heading for its parent details element — clicking it is exactly what expands or collapses the content.