You are here: Home > HTML Reference > Elements > <a> element > ping attribute
Usage
Sends an HTTP POST request to the specified URIs when the user follows the link. Useful for "clickthrough" tracking for ad systems, etc.
<a href="ad.html" ping="http://adserver.example.com/">
Values
A space-separated list of URIs. URIs may be relative and are resolved according to the element's base URI.
Elements
You can use the ping
attribute on the following elements:
- <a>
- <area>
Browser compatibility
Compatibility table legend
| Test | IE8 | IE7 | IE6 | FF3 | FF2 | Saf3 | Op9 | Chrome | |:---------|:--------|:--------|:--------|:--------|:--------|:---------|:--------|:-----------| | a.ping reflects <a ping="http://www.example.com/"> | Y | Y | Y | Y | N | N | N | N |