Horje

How to create HTML <iframe> same-origin Attribute on HTML <link> Tag

same-origin For same-origin requests: Referrer info will be sent. For cross-origin requests: No referrer info will be sent
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The iframe referrerpolicy attribute</h1>

<iframe src="https://horje.com" referrerpolicy="same-origin">
  <p>Your browser does not support iframes.</p>
</iframe>

</body>
</html>

Output should be:

How to create HTML <iframe> same-origin Attribute on HTML <link> Tag




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin