HTML Click to Call Button code

Add a Call button to your HTML website and let visitors connect with you instantly – boost trust, never miss a lead, and do it all without touching code.
4.8 rating
10,000+ reviews
Free plan available
Create Widget for Free
No credit card needed
HTML Click to Call Button code

Create your Click to Call widget

Configure your Call Button and add it to your HTML website for free!

Screenshots

HTML Click to Call Button code
1 / 6

Why People Love Elfsight

When someone is browsing your website and wants to talk to you, every extra step can mean a lost lead. The Elfsight Click to Call widget solves that problem by giving them a simple button to start a call right away.

You don’t need to figure out complicated HTML code to call a phone number – the widget takes care of everything. You decide how it looks, where it shows up, and what happens when it’s clicked. Visitors tap, and you’re instantly in touch.

Did you know?

TransUnion studies reveal that around 80% of customers still see phone calls as one of the most reliable ways to reach a business, even if they sometimes hesitate to answer.

Make it effortless for them to reach you – add the Elfsight Call button for free today and keep every conversation just one tap away.

Key Features of the Click to Call Widget for HTML

Here’s what makes this widget a favorite for small businesses and larger teams alike:

  • Custom design: Adjust colors, icons, and shapes to match your website’s style.
  • Flexible placement: Add it inline on a page or as a floating Call button that follows users as they scroll.
  • Schedule display: Show your button only during your business hours so you don’t get interrupted after hours.
  • Mobile-friendly: Perfectly designed for smartphones, where one tap starts the call.
  • Quick setup: Embedding the widget takes just minutes – no advanced programming knowledge required.

Explore every feature in the live editor – no account required.

How to Add the Click to Call Button to HTML

Adding a Click to Call button HTML code to your website is quick and straightforward. You have two easy options:

Method 1: Inline Button

Ideal for placing the button directly on a contact or service page.

  1. Select a template: Open the Elfsight editor and pick your template.
  2. Customize the widget: Add phone number, adjust the design, text.
  3. Generate the code: Copy the provided HTML code for Click to Call.
  4. Embed on your website: Paste it where you’d like the button to appear in your website’s HTML.

Method 2: Floating Button

Perfect for a button that stays visible as visitors scroll.

  1. Select a template: Choose a floating layout in the editor.
  2. Personalize the widget: Add your phone number, define position, adjust the style.
  3. Generate the code: Once you finish all customization, get and copy the provided HTML code.
  4. Embed: Paste it right before the closing tag on your HTML website.

Need more guidance? Check our Help Center, browse tutorials on how to make a Call button in HTML, or suggest improvements in the Wishlist. You can also follow updates in the Changelog.

FAQ

Can I control where the button appears on my website?

Yes. You can decide exactly which pages will display the button. For instance, keep it visible on your contact or service pages, but hide it on checkout or thank-you pages.

Is it possible to add a picture or avatar to the call button?

Absolutely. You can upload a custom photo to make the button feel more personal – whether that’s a staff member’s headshot or simply your company logo.

Can I add my own scripts to customize behavior?

Yes. With the Custom JS feature, you can include your own snippets of code to make the widget do extra things when it loads.

Does the button support an exit-intent trigger?

It does. You can set the button to appear automatically when someone is about to leave your page, offering them one last chance to connect with you.

Can I limit the button to my business hours?

Yes. You can schedule it to only be visible during the times you’re available, so you won’t get calls after hours.

Pricing

14-day money back guarantee. Risk-free, you can cancel at anytime.
Elfsight Apps
Cross-platform software that suits for any website
from $0 / month
start with free plan
Unlimited domains
Free and on-time support
Charge-free installation service
Price to catch for multiple apps
100% customizable