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


Leave a Reply

Your email address will not be published. Required fields are marked *