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 ( no-referrer-when-downgrade ) with < iframe > tag in HTML ? with example

Difference between Public vs Internal vs Private state variables in solidity programming langauge with example ?

How to use controls attribute with < video > tag in HTML for YouTube ? with example

HTML codes for creating salary slip ?

How to use < img > tag with alt attribute in HTML ? with example

Syntax of writing a different font style in HTML

How to make a water bottle using the HTML code?

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