Horje

How to add HTML <iframe> referrerpolicy Attribute

Specifies that no referrer information will be sent along with the request:

Definition and Usage

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

Browser Support

The numbers in the table specify the first browser version that fully supports the attribute.

Syntax

<iframe referrerpolicy="no-referrer|no-referrer-when-downgrade|origin|origin-when-cross-origin|same-origin|strict-origin-when-cross-origin|unsafe-url">

Attribute Values

Value Description
no-referrer No referrer information will be sent along with a request
no-referrer-when-downgrade Default. The referrer header will not be sent to origins without HTTPS
origin Send only scheme, host, and port to the request client
origin-when-cross-origin For cross-origin requests: Send only scheme, host, and port. For same-origin requests: Also include the path
same-origin For same-origin requests: Referrer info will be sent. For cross-origin requests: No referrer info will be sent
strict-origin Only send referrer info if the security level is the same (e.g. HTTPS to HTTPS). Do not send to a less secure destination (e.g. HTTPS to HTTP)
strict-origin-when-cross-origin Send full path when performing a same-origin request. Send only origin when the security level stays the same (e.g. HTTPS to HTTPS). Send no header to a less secure destination (HTTPS to HTTP)
unsafe-url Send origin, path and query string (but not fragment, password, or username). This value is considered unsafe
index.html
Example: HTML

<iframe src="https://horje.com/view/1332/how-to-add-html-iframe-referrerpolicy-attribute" referrerpolicy="no-referrer"></iframe>

Output should be:

How to add HTML <iframe> referrerpolicy Attribute



Single Articles
How to create HTML <iframe> Tag HTML Tag
Which browser will support for HTML <iframe> Tag HTML Tag
Attributes for HTML <iframe> Tag HTML Tag
How to Add and remove iframe borders (with CSS) HTML Tag
How to set Default CSS Settings for HTML <iframe> Tag HTML Tag
How to add HTML <iframe> allow attribute HTML Tag
How to Add HTML <iframe> allowfullscreen attribute HTML Tag
How to add HTML <iframe> allowpaymentrequest Attribute HTML Tag
How to add HTML <iframe> height Attribute HTML Tag
How to Add HTML <iframe> loading attribute HTML Tag
How to add HTML <iframe> name Attribute HTML Tag
How to add HTML <iframe> referrerpolicy Attribute HTML Tag
How to add HTML <iframe> referrerpolicy with no-referrer Attribute HTML Tag
How to add HTML <iframe> referrerpolicy with no-referrer-when-downgrade Attribute HTML Tag
How to add HTML <iframe> referrerpolicy with origin Attribute HTML Tag
How to add HTML <iframe> referrerpolicy with origin-when-cross-origin Attribute HTML Tag
How to add HTML <iframe> referrerpolicy with same-origin Attribute HTML Tag
How to add HTML <iframe> referrerpolicy with strict-origin Attribute HTML Tag
How to add HTML <iframe> referrerpolicy with strict-origin-when-cross-origin Attribute HTML Tag
How to add HTML <iframe> referrerpolicy with unsafe-url Attribute HTML Tag
What is HTML <iframe> sandbox Attribute HTML Tag
How to add HTML <iframe> sandbox allow-forms Attribute HTML Tag
How to add HTML <iframe> sandbox allow-modals Attribute HTML Tag
How to add HTML <iframe> sandbox allow-orientation-lock Attribute HTML Tag
How to add HTML <iframe> sandbox allow-pointer-lock Attribute HTML Tag
How to add HTML <iframe> sandbox allow-popups Attribute HTML Tag
How to add HTML <iframe> sandbox allow-popups-to-escape-sandbox Attribute HTML Tag
How to add HTML <iframe> sandbox allow-presentation Attribute HTML Tag
How to add HTML <iframe> sandbox allow-same-origin Attribute HTML Tag
How to add HTML <iframe> sandbox allow-scripts Attribute HTML Tag
How to add HTML <iframe> sandbox allow-top-navigation Attribute HTML Tag
How to add HTML <iframe> sandbox allow-top-navigation-by-user-activation Attribute HTML Tag
How to add HTML <iframe> src Attribute HTML Tag
How to add HTML <iframe> srcdoc Attribute HTML Tag
How to add HTML <iframe> width Attribute HTML Tag
How to Make iframe automatically adjust height HTML Tag


Related Articles
HTML <!--...--> Tag HTML Tag
HTML <!DOCTYPE> Declaration HTML Tag
HTML Elements and Doctypes HTML Tag
HTML <a> Tag HTML Tag
HTML <abbr> Tag HTML Tag
HTML <acronym> Tag HTML Tag
HTML <address> Tag HTML Tag
HTML <applet> Tag HTML Tag
HTML <area> Tag HTML Tag
HTML <article> Tag HTML Tag
HTML <aside> Tag HTML Tag
HTML <audio> Tag HTML Tag
HTML <b> Tag HTML Tag
HTML <base> Tag HTML Tag
HTML <basefont> Tag HTML Tag
HTML <bdi> Tag HTML Tag
HTML <bdo> Tag HTML Tag
HTML <big> Tag HTML Tag
HTML <blockquote> Tag HTML Tag
HTML <body> Tag HTML Tag
HTML <br> Tag HTML Tag
HTML <button> Tag HTML Tag
HTML <canvas> Tag HTML Tag
HTML <caption> Tag HTML Tag
HTML <center> Tag HTML Tag
HTML <cite> Tag HTML Tag
HTML <code> Tag HTML Tag
HTML <col> Tag HTML Tag
How to create HTML <colgroup> Tag HTML Tag
HTML <data> Tag HTML Tag
HTML <datalist> Tag HTML Tag
HTML <dd> Tag HTML Tag
HTML <del> Tag HTML Tag
HTML <details> Tag HTML Tag
HTML <dfn> Tag HTML Tag
HTML <dialog> Tag HTML Tag
HTML <dir> Tag HTML Tag
HTML <div> Tag HTML Tag
HTML <dl> Tag HTML Tag
HTML <dt> Tag HTML Tag
HTML <em> Tag HTML Tag
HTML <embed> Tag HTML Tag
HTML <fieldset> Tag HTML Tag
HTML <figcaption> Tag HTML Tag
HTML <figure> Tag HTML Tag
HTML <font> Tag HTML Tag
HTML <footer> Tag HTML Tag
HTML <form> Tag HTML Tag
HTML <frame> Tag HTML Tag
HTML <frameset> Tag HTML Tag
HTML <h1> to <h6> Tags HTML Tag
HTML <head> Tag HTML Tag
HTML <header> Tag HTML Tag
HTML <hgroup> Tag HTML Tag
HTML <hr> Tag HTML Tag
HTML <html> Tag HTML Tag
HTML <i> Tag HTML Tag
HTML <iframe> Tag HTML Tag
HTML <img> Tag HTML Tag
HTML <input> Tag HTML Tag
HTML <ins> Tag HTML Tag
HTML <kbd> Tag HTML Tag
HTML <label> Tag HTML Tag
HTML <legend> Tag HTML Tag
HTML <li> Tag HTML Tag
HTML <link> Tag HTML Tag
HTML <main> Tag HTML Tag
HTML <map> Tag HTML Tag
HTML <mark> Tag HTML Tag
HTML <menu> Tag HTML Tag
HTML <meta> Tag HTML Tag
HTML <meter> Tag HTML Tag
HTML <nav> Tag HTML Tag
HTML <noframes> Tag HTML Tag
HTML <noscript> Tag HTML Tag
HTML <object> Tag HTML Tag
HTML <ol> Tag HTML Tag
HTML <optgroup> Tag HTML Tag
HTML <option> Tag HTML Tag
HTML <output> Tag HTML Tag
HTML <p> Tag HTML Tag
HTML <param> Tag HTML Tag
HTML <picture> Tag HTML Tag
HTML <pre> Tag HTML Tag
HTML <progress> Tag HTML Tag
HTML <q> Tag HTML Tag
HTML <rp> Tag HTML Tag
HTML <rt> Tag HTML Tag
HTML <ruby> Tag HTML Tag
HTML <s> Tag HTML Tag
HTML <samp> Tag HTML Tag
HTML <script> Tag HTML Tag
HTML <search> Tag HTML Tag
HTML <section> Tag HTML Tag
HTML <select> Tag HTML Tag
HTML <small> Tag HTML Tag
HTML <source> Tag HTML Tag
HTML <span> Tag HTML Tag
HTML <strike> Tag HTML Tag
HTML <strong> Tag HTML Tag
HTML <style> Tag HTML Tag
HTML <sub> Tag HTML Tag
HTML <summary> Tag HTML Tag
HTML <sup> Tag HTML Tag
HTML <svg> Tag HTML Tag
HTML <table> Tag HTML Tag
HTML <tbody> Tag HTML Tag
HTML <td> Tag HTML Tag
HTML <template> Tag HTML Tag
HTML <textarea> Tag HTML Tag
HTML <tfoot> Tag HTML Tag
HTML <th> Tag HTML Tag
HTML <thead> Tag HTML Tag
HTML <time> Tag HTML Tag
HTML <title> Tag HTML Tag
HTML <tr> Tag HTML Tag
HTML <track> Tag HTML Tag
HTML <tt> Tag HTML Tag
HTML <u> Tag HTML Tag
HTML <ul> Tag HTML Tag
HTML <var> Tag HTML Tag
HTML <video> Tag HTML Tag
How to add HTML <wbr> Tag HTML Tag

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