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

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



allow-modals helps to Allows to 

open modal windows with iframe in HTML.


Example

<body>

<iframe src="sandboxdemo.html" 

sandbox="allow-modals">

</iframe>

</body>

Comments

Last 7 Days

How do you give an < image > a tag?

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

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

Why TD is used in HTML?

How to use comments in Solidity programming language ?