Safer external links and frames

Small attributes that reduce risk.

HTML · Safer external links and framesIntermediate
<a href="https://other.example/" target="_blank" rel="noopener noreferrer nofollow">External</a>
<iframe src="https://widget.example/" title="Widget" sandbox="allow-scripts allow-same-origin" referrerpolicy="no-referrer" loading="lazy"></iframe>
<img src="https://cdn.example/logo.png" alt="Logo" referrerpolicy="no-referrer" width="100" height="40">
relnoopenersandboxreferrerpolicy