1

I am currently developing a project with CI. In the project I need to add "tel" in "a" tag for calling from the website. I addded like this <a link="tel:+919898989898"> But when I open link from page, the link is like this abc.com/tel:+919898989898 and it is redirecting to a error page.If I manually remove the baseurl from the page it is working. Please give me some idea why it is happening and how to prevent the baseurl adding auomatically. Please don't give link which explain the "tel" tag description

SuUbha
  • 167
  • 2
  • 15

2 Answers2

0

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

Mukesh Ram
  • 6,248
  • 4
  • 19
  • 37
0
<a href="tel:1111-2222-33"><img src="path/to/phone/icon.jpg" /></a>
Harshita
  • 432
  • 1
  • 3
  • 14