share link to whatsapp from website code example

Example 1: link whatsapp to website

<!-- 
link the following URL to the desired icon or button in your code:
https://wa.me/PhoneNumber (see the example below)
remember to include the country code
-->
<a href='https://wa.me/27722840005' target='_blank'><i class= "fa fa-whatsapp"></i></a>

Example 2: whatsapp share link for website

<a href="https://api.whatsapp.com/send?text=www.google.com" data-action="share/whatsapp/share">Share via Whatsapp web</a>

Tags:

Misc Example