HTML · Link and navigation attributes

ping

Sends a POST notification when the link is followed. Rarely needed and often blocked.

Syntax
ping="/api/track"

Example

Try it

More in this group

as crossorigin download fetchpriority href hreflang imagesizes imagesrcset

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course