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

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



 Referrerpolicy Attribute value (strict-origin ) Only send referrer info if the security level is the same (e.g. HTTPS to HTTPS). Do not send to a less secure destination (e.g. HTTPS to HTTP).


Example

<html>

<body>

<h1>The iframe referrerpolicy attribute Example</h1>


<iframe src="https://tech.thinkforu.org" 

referrerpolicy="strict-origin">


</iframe>

</body>

</html>

Comments

Last 7 Days

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

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

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

How to write html code for email signature ?