whatsapp in html code example
Example 1: whatsapp html
<a href="https://wa.me/!!!yourNumberWithCountryCodeHere!!!?text=Hi%20Eric,%20I%20am%20sending%20you%20this%20message%20because%20I%20am%20interested%20in%20your%20business!" style="text-decoration: none;" target="_blank">
<img src="https://i.ibb.co/N9P0K9H/239px-Whats-App-svg.png" width="50" height="50"/>
</a>
<a href="https://wa.me/!!!yourNumberWithCountryCodeHere!!!?text=Hi%20Eric,%20I%20am%20sending%20you%20this%20message%20because%20I%20am%20interested%20in%20your%20business!" target="_blank">
Send Message
</a>
Example 2: whats app link target blank
<button onclick="javascript:{window.open('https://api.whatsapp.com/send?phone=55myphonehere&text='+encodeURIComponent('My text here'),'_blank')}" ></button>