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

Last 7 Days

css for code blocks

How use valign in HTML?

How to use autoplay and mute attribute with < video > tag in HTML for youtube ? with example

How to use referrerpolicy Attribute value ( no-referrer-when-downgrade ) with < iframe > tag in HTML ? with example

How do you give an < image > a tag?

What is img scr or image scr or scr img ?

what is solidity programming language ?

How to use comments in Solidity programming language ?

How to write html code for email signature ?