Link Relationships

HTML rel="opener"

Build a form with the HTML form generator

Explicitly requests an opener relationship for an auxiliary browsing context. It reverses the implicit noopener behavior of target=_blank; avoid it for untrusted destinations. Allowed on a, area and form, this token explicitly opts into an opener relationship for a new auxiliary context. Prefer the default isolated behavior unless a trusted workflow requires it. Other policies may still sever the relationship.

Formal Syntax & Structure

html syntaxhtml
<a target="_blank" rel="opener" href="/trusted-tool">Open trusted tool</a>

Parameters & Attributes

NameTypeDescription
relspace-separated relationship tokensInclude opener in the space-separated relationship tokens. Use on a, area or form.
hrefURL or fragmentAnchor or area destination in this example; forms use action instead of href.

Working Example

Example Snippethtml
<a target="_blank" rel="opener" href="/trusted-tool">Open trusted tool</a>
HTML Reference