Horje

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

origin Send only scheme, host, and port to the request client
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The iframe referrerpolicy attribute</h1>

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

</body>
</html>

Output should be:

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




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