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

What is img scr or image scr or scr img ?

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