Web features explorer

Sandboxed iframes

Widely available since 2018-01-29
Tags: api html

The sandbox attribute for the <iframe> HTML element sets many security restrictions on the iframe, such as preventing form submissions or opening modal dialogs. Optional allow- values relax specific restrictions.

Learning resources on MDN

Browser support (view on caniuse.com)