Interactive Elements

popover="hint"

Creates a hint popover that can coexist with an auto popover while generally replacing other unrelated hints. Useful for transient contextual help; verify newer browser support and provide accessible text independently. Global attribute; absent means no popover, empty means auto, and invalid values resolve to manual. Popovers are nonmodal top-layer UI.

Formal Syntax & Structure

html syntaxhtml
popover="hint"

Parameters & Attributes

NameTypeDescription
popoverkeywordCreates a hint popover that can coexist with an auto popover while generally replacing other unrelated hints. Useful for transient contextual help; verify newer browser support and provide accessible text independently.

Working Example

Example Snippethtml
<button type="button" popovertarget="note">Toggle note</button><div id="note" popover="hint">  A contextual note.  <button type="button" popovertarget="note" popovertargetaction="hide">Close</button></div>
HTML Reference