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

How to use autoplay and mute attribute with < video > tag in HTML for youtube ? with example

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

Difference between Public vs Internal vs Private state variables in solidity programming langauge with example ?

Why TD is used in HTML?

How do you give an < image > a tag?