Home › HTML Tutorial › Popover API
Popover API
Built-in pop-ups with no JavaScript.
Give an element the popover attribute and point a button at it with popovertarget.
Example code
<button popovertarget='p'>Toggle popover</button>
<div id='p' popover style='padding:16px'>Hello from a popover.</div>'