Generate an email or make a phone call

Hi, I have built a personal website and would like to add automatic email and call capability i.e. if someone viewing my site would like to get in touch via phone or email tapping the link will automatically open their email application or automatically dial the number? Is that possible?



You can do it with HTML

<a href="tel:555-555-5555">555-555-5555</a>

Or with an image:

<a href="tel:555-555-5555"><img src="path/to/phone/icon.jpg" /></a>

And for an email:

<a href="mailto:[email protected]?Subject=Hello%20again" target="_top">Send Mail</a>

Thank you J805! Works perfectly :slight_smile:

Great! :+1:Glad it helped.

Don’t forget to mark it as Solved :ballot_box_with_check: by clicking the checkbox so others know to not worry about it. Thanks. :slight_smile:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.