HTML Attributes

HTML popovertargetaction attribute

Build a form with the HTML form generator

Specifies the action a popover invoker performs. The default is toggle. The target must be identified by popovertarget. Applicable elements include: <button>, <input>. Check each element’s value rules.

Formal Syntax & Structure

html syntaxhtml
popovertargetaction="show"

Parameters & Attributes

NameTypeDescription
popovertargetactionenumerated: toggle, show, hideSpecifies the action a popover invoker performs. The default is toggle. The target must be identified by popovertarget.

Working Example

Example Snippethtml
<button popovertarget="info" popovertargetaction="show">Show</button><div id="info" popover>Information</div>
HTML Reference