I'm using HTML to generate a share on Whatsapp button for a mobile website like so:
<a rel="nofollow" target="_blank" href="whatsapp://send?text=https://example.com" data-link="whatsapp://send?text=https://example.com" data-action="share/whatsapp/share">
</a>
My question is that is there a graceful way - in HTML - to hide the said functionality in case the user doesn't have Whatsapp on their phone? If not, is there alternatively a way to show a graceful error in case the user doesn't have Whatsapp?