HTML · Interactive widgets

popover

A global attribute that turns an element into a lightweight popover toggled by popovertarget.

Syntax
popover

Example

Try it

Notes

The popover API is supported in current browsers. Provide a non-popover fallback only if you support very old browsers.

More in this group

details dialog summary

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course