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

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


Sandbox attribute value allow-orientation-lock  use to 

Allows to lock the screen orientation. 


Example


<body>

<iframe src="iframesandbox_demo.html" 

sandbox="allow-orientation-lock ">

</iframe>

</body>

Comments

Last 7 Days

How to use referrerpolicy Attribute value ( no-referrer-when-downgrade ) with < iframe > tag in HTML ? with example

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

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

How to add Amazon website inside iframe?

How to use comments in Solidity programming language ?

How to use string in Solidity programming language ?

How to use arrays in Solidity programming language ?