HTML5 Please

<details> & <summary>

Safe to use with polyfillhtml

Use the <details> (and optionally the <summary>) element if you intend to show a summary which, when clicked, reveals detailed information.

Verdict
Safe to use
Category
HTML features
Browser support
Can I Use
Works in
all modern browsers

Should you use <details> & <summary> in 2026?

Currently not supported in any version of Internet Explorer or Edge.

Without polyfill, non-supporting browsers will fall back to displaying the element in the opened state.

Polyfills and fallbacks

<details> polyfill