HTML summary tag is used to show heading for details element in HTML . This tag can be used to create accordion widget which shows content on toggle open and close.
<summary>Enter summary content here...</summary>
<p>This is the content in details element.</p>
This is the content in details element.