Extension & Emerging Attributes

interestfor

Emerging interest-invoker attribute linking a supported invoker to a target by id. User interest can be expressed through hover, focus or other browser-supported gestures. Use an explicit activation route as a fallback and never hide essential content behind hover alone.

Formal Syntax & Structure

html syntaxhtml
interestfor="info"

Parameters & Attributes

NameTypeDescription
interestforID referenceIdentifier of the associated interest target.

Working Example

Example Snippethtml
<button type="button" interestfor="info" popovertarget="info">More information</button><div id="info" popover>Additional details</div>
HTML Reference