ping
Limited availability
The ping
attribute for <a>
elements sets a URL to send a POST request to when the <a>
is clicked. This is typically used for outbound link reporting.
Learning resources on MDN
No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.Browser support (view on caniuse.com)
- Chrome 12 Released on 2011-06-07
- Chrome Android 18 Released on 2012-06-27
- Edge 17 Released on 2018-04-30
- Firefox ❌
- Firefox for Android ❌
- Safari 6 Released on 2012-07-25
- Safari on iOS 6 Released on 2012-09-10
Baseline availability blocked since April 2018 by Firefox (84 months)
Specifications
- HTML (#ping), from HTML Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature