How to use < iframe > tag with referrerpolicy Attribute in HTML ? with example

 How to use < iframe > tag with referrerpolicy Attribute in HTML ? with example 


The referrerpolicy attribute specifies which referrer information to send when fetching an iframe.


Example

<html>

<body>

<h1>referrerpolicy attribute example</h1>


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

 referrerpolicy="no-referrer">


</iframe>

</body>

</html>

Comments

Last 7 Days

css for code blocks

what is the css code for transparent background

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