Link Relationships
HTML rel="opener"
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
| Name | Type | Description |
|---|---|---|
| rel | space-separated relationship tokens | Include opener in the space-separated relationship tokens. Use on a, area or form. |
| href | URL or fragment | Anchor 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>