Zero-JS Snippet Builder

Build modals, tooltips, popovers and accordions from HTML attributes alone. The default output has no JavaScript, and the preview runs in an iframe with scripts blocked. Turn on a fallback for unsupported browsers only when you need it.

commandfor interestfor details[name] anchor positioning @starting-style

Options

Style preset
Each line break starts a new paragraph.
Only lowercase English letters, digits and hyphens are used.

Preview

Code

Off gives pure Zero-JS HTML only. On adds a script below that runs only in unsupported browsers.

      

Accessibility and semantics check

    Browser support check

    Feature This browser Chrome Edge Firefox Safari

    Minimum versions are values checked on 2026-11-23 against MDN, caniuse, web.dev and the Chrome documentation. The Edge value for interestfor is an estimate: it is written the same as Chrome because Edge is Chromium based. "This browser" column is what was detected directly in this window by checking whether the API is exposed. Confirm real behavior in the preview.

    Usage notes