How to use sandbox attribute value ( allow-popups ) with < iframe > tag in HTML ? with example
How to use sandbox attribute value ( allow-popups ) with < iframe > tag in HTML ? with example
Sandbox attribute value ( allow-popups ) used for Allows popups This allows the sandboxed document to spawn new windows without forcing the sandboxing flags upon them, hence creating a clean browsing context.
Example
<body>
<iframe src="tech.thinkforu.html"
sandbox="allow-popups">
</iframe>
</body>
Comments
Post a Comment