Did you know that the anchor element can do more than just navigate to a url?
<a href="https://bytes.dev">Read Bytes!</a>
We’ve got three specific use cases. Can you guess them?
<!-- 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@ui.dev?subject=Re%3A%20My%20third%20nipple&body=%F0%9F%91%8B"> Hi 👋 </a>
And that’s all folks. Thanks for reading ❤️.