Posts

Showing posts with the label origin-when-cross-origin

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

 How to use referrerpolicy Attribute value ( origin-when-cross-origin ) with < iframe > tag in HTML ? with example Referrerpolicy Attribute value ( origin-when-cross-origin ) used For cross-origin requests: Send only scheme, host, and port. For same-origin requests: Also include the path Example <html> <body> <h1> Example of iframe referrerpolicy attribute</h1> <iframe src ="https://www.tech.thinkforu.org"  referrerpolicy=" origin-when-cross-origin "> </iframe> </body> </html>