<!DOCTYPE html> <html> <body> <h1>The button popovertargetaction Attribute</h1> <h1 popover id="myheader">Hello</h1> <button popovertarget="myheader" popovertargetaction="hide">Show popover</button> <p>Click the button and it will show the popover element.</p> </body> </html>