same-origin | For same-origin requests: Referrer info will be sent. For cross-origin requests: No referrer info will be sent |
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>
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |