Problem

Did you know that the anchor element can do more than just navigate to a url?

<a href="https://bytes.dev">Read Bytes!</a>
Solution
<!-- sends a POST request with the body of PING to url -->
<a href="#" ping="https://api.iwanttotrackyou.com">
  Click Me
</a>
<a href="data:,Hello%2C%20World%21" download="helloworld.txt">
  Download
</a>
<a href="mailto:tyler@fireship.dev?subject=Re%3A%20hi%20mom&body=%F0%9F%91%8B">
  Hi 👋
</a>

And that’s all folks. Thanks for reading ❤️.