< All the HTML Tags >

<summary></summary>

Video Coming Soon...

  • summary

    Tag Type

    block

    Tag Category

    interactive

    Defines a clickable summary heading for a details section.

    Viewed

    1

    Examples

    1

Definition:

The HTML <summary> tag is used to provide a summary or heading for a <details> element, which can be expanded or collapsed by the user.

This tag enhances user interaction by allowing users to access additional content in a structured way.

Using the `<summary>` tag effectively organizes and simplifies complex information.

Attributes:

Global attributes (e.g., class, id, style)

Accessibility:

Coming Soon…

Default summary Example:

Collapsible section summary
<details><summary>More info</summary>Content here</details>

Default summary Result:


Coming Soon…

Community Examples:

Coming Soon…
Coming Soon…