English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Referenzhandbuch

HTML-Tag-Übersicht

HTML: <a> ping Property

Die Property ping wird ausgelöst, wenn der Benutzer auf den href-Link klickt und sendet eine Ping-Anfrage, um zu verfolgen

HTML <a> Tag

Online Examples

when the user clicks on the oldtoolbag.com/when the user clicks on the oldtoolbag.com/trackpings:

 <a href="https://de.oldtoolbag.com/html" ping="https://de.oldtoolbag.com/trackpings">

Definition and Usage

The ping attribute specifies the list of URLs that will be notified if the user follows the hyperlink.

When the user clicks on a hyperlink, the ping attribute will send a brief HTTP POST request to the specified URL.

This attribute is useful for monitoring/Tracking is very useful.

Browser Support

The numbers in the table specify the first browser version that fully supports this attribute.

Attribute




pingYesNoYesNoYes

HTML 4.01and HTML5difference

The ping attribute is an HTML5A new attribute for the <a> tag in HTML.

Syntax

<a ping="URL">

Attribute Value

ValueDescription
URLSpecify if the URL of the hyperlink followed by the user should be notified. It must be a space-separated list of one or more valid URLs.