Advertisement
Home Open Editor ❯

HTML <a> ping Attribute

Example

<a href="https://www.google.com" ping="https://www.google.com/track">

Meaning

This Specific attribute is used to specify the URL(s) that will be notified when a link is activated.

The browser will send POST requests with the body PING to the URLs.

Notes: Typically used for tracking purpose.


Standard Syntax

<a ping="URL">


Advertisement

Attribute Values

Value Description
URL Specify the URL(s) with space. Typically for tracking.
Home Open Editor ❯
Advertisement