Horje

How to add HTML <a> Tag referrerpolicy strict-origin-when-cross-origin Attribute

Sends the origin if the protocol security level stays the same or is higher (HTTP to HTTP, HTTPS to HTTPS, and HTTP to HTTPS is ok). Sends nothing to less secure level (HTTPS to HTTP).

index.html
Example: HTML
<a href="https://horje.com/" referrerpolicy="strict-origin-when-cross-origin">Open a Link</a>

Output should be:

How to add HTML <a> Tag referrerpolicy strict-origin-when-cross-origin Attribute




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