HTML summary tag

Last Updated on April 26, 2023 by Roshan Parihar

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.

Syntax

Output

title one

This is the content in details element.


Resources and References of HTML summary tag

1. W3C Specification.
2. HTML living standard
3. W3C project using Github