Horje

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

strict-origin-when-cross-origin 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
<img src="https://horje.com/uploads/demo/2024-02-19-15-51-41-area11.png"
alt="" width="300" height="119"
class="aligncenter size-medium wp-image-910965"
usemap="#shapemap" />
<map name="shapemap">
<!-- area tag contained image. -->
<area shape="poly"
coords="59,31,28,83,91,83"
href="https://horje.com/uploads/demo/2024-02-19-15-52-16-area2.png"
alt="Triangle" referrerpolicy="strict-origin-when-cross-origin">
</map>

Output should be:

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




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