How to use sandbox attribute value ( allow-scripts ) with < iframe > tag in HTML ? with example

 How to use sandbox attribute value ( allow-scripts ) with < iframe >  tag in HTML ? with example 


 Sandbox attribute value ( allow-scripts )  Allows to run 

scripts Try removing the sandbox attribute

 value, or changing it.


Example

<html>

<body>

<h1> Sandbox attribute Example</h1>


<iframe src="demotech.thinkforu.org" 

sandbox="allow-scripts">

</iframe>

</body>

</html>

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

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 ?