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

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


Sandbox attribute value ( allow-same-origin ) Allows the iframe content to be treated as being from the same origin.


Example


<body>

<iframe src="tech_thinkforu.html" 

sandbox=" allow-same-origin">

</iframe>

</body>

Comments

Last 7 Days

How to use referrerpolicy Attribute value (strict-origin ) with < iframe > tag in HTML ? with example

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

Why TD is used in HTML?

How to use string in Solidity programming language ?

How to use the datalist tag in HTML?

How to use Local Variable for whose values are present till function is executing in solidity ?

What is IMG tag in HTML?

How to add Amazon website inside iframe?