linking to whatsapp in html 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: how to make a whatsapp hyperlink html

<!-- Try this link "formula" out :) -->

<a href="https://wa.me/<number>" target="_blank">Link Text Here</a>

<!-- where the <number> is a full phone number in international format. Omit any zeroes, brackets, or dashes when adding the phone number in international format. -->

Tags:

Html Example