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

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


Referrerpolicy Attribute value ( no-referrer-when-downgrade )  in iframe Default. The referrer header will not be sent to origins without HTTPS.


Example

<html>

<body>


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


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

 referrerpolicy=" no-referrer-when-downgrade ">


</iframe>

</body>

</html>

Comments

Last 7 Days

Syntax of writing a different font style in HTML

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

What is < table > tag in HTML?

How to use the datalist tag in HTML?

css for code blocks