<map name="example-map" id="example-map">
<area
href="https://example.com"
ping="https://example-tracking.com https://example-analytics.com"
alt="example" />
</map>HTMLAreaElement: ping property / notebook
HTMLAreaElement: ping property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
const areaCollection = document.getElementById("example-map").areas;
console.log(areaCollection[0].ping); // Output: "https://example-tracking.com https://example-analytics.com"