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

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


Referrerpolicy Attribute value ( strict-origin-when-cross-origin ) Send full path when performing a same-origin request. Send only origin when the security level stays the same (e.g. HTTPS to HTTPS). Send no header to a less secure destination (HTTPS to HTTP).


Example

<html>

<body>

<h1>Referrerpolicy attribute Example</h1>


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

referrerpolicy="strict-origin-when-cross-origin">


</iframe>


</body>

</html>

Comments

Last 7 Days

css for code blocks

what is the css code for transparent background